X-Git-Url: http://git.scottworley.com/tl-append/blobdiff_plain/d753115a12c9368e24546c04f992740799da0257..d522116b5fdc09e3f83fe4f88515dec52a3e0462:/Makefile?ds=inline diff --git a/Makefile b/Makefile index f5e1548..f4db060 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,11 @@ prefix = /usr/local bindir = $(prefix)/bin INSTALL = install -tl-append: +tl-append: common.o +tl-append-test: common.o +%.o: %.c + $(CC) -Wall -Wextra -pedantic -std=c99 -o $@ -c $^ %: %.c $(CC) -Wall -Wextra -pedantic -std=c99 -o $@ $^ @@ -18,4 +21,7 @@ install: tl-append .PHONY: clean clean: - -rm tl-append tl-append-test tl.log + -rm tl-append tl-append-test tl.log *.o + +tl-append.o: common.h +tl-append-test.o: common.h