]> git.meshlink.io Git - utcp/commitdiff
Improve Makefile.
authorGuus Sliepen <guus@meshlink.io>
Sun, 17 Aug 2014 19:53:22 +0000 (21:53 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 17 Aug 2014 19:53:22 +0000 (21:53 +0200)
Makefile

index f62279859a3ace0308963ab2d3575ad7b08b6094..9b18c51de4df8a52070e63e4dc6bc6a1b46931e8 100644 (file)
--- 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)