X-Git-Url: https://git.cworth.org/git?p=mnemon;a=blobdiff_plain;f=Makefile;h=538b1db6eba89dcbdab1e5fa052c03c271030b2a;hp=238afe1719e90d14d6983bfde2c5b6b1d408dbea;hb=5ae11041e3b0f7c5a04795c71fe3794d663eb195;hpb=640321106d0b60f1f9ed408537691b90a768a651 diff --git a/Makefile b/Makefile index 238afe1..538b1db 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ MY_CFLAGS=-Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Wno-sign-compare -MY_LDFLAGS=-lreadline +MY_LDFLAGS=-lreadline -lm PROGRAMS=mnemon all: $(PROGRAMS) -%: %.o +mnemon: main.o mnemon.o $(CC) $(CFLAGS) $(MY_CFLAGS) $(LDFLAGS) $(MY_LDFLAGS) -o $@ $^ %.o: %.c