From cf2acb398293f1e7003abbf455951e0e2246cc2a Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 17 Aug 2014 21:53:22 +0200 Subject: [PATCH] Improve Makefile. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.5