From: Guus Sliepen Date: Sun, 17 Aug 2014 19:53:22 +0000 (+0200) Subject: Improve Makefile. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=cf2acb398293f1e7003abbf455951e0e2246cc2a;p=utcp Improve Makefile. --- diff --git a/Makefile b/Makefile index f622798..9b18c51 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,11 @@ BIN = selftest test all: $(BIN) -test: utcp.c test.c +utcp.o: utcp.c utcp.h utcp_priv.h -selftest: utcp.c selftest.c +test: utcp.o test.c + +selftest: utcp.o selftest.c clean: rm -f *.o $(BIN)