X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=538b1db6eba89dcbdab1e5fa052c03c271030b2a;hb=33d0169d3bd989486de8e97f58002c1544a8211e;hp=238afe1719e90d14d6983bfde2c5b6b1d408dbea;hpb=640321106d0b60f1f9ed408537691b90a768a651;p=mnemon 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