]> git.meshlink.io Git - utcp/commitdiff
Build both binaries.
authorGuus Sliepen <guus@sliepen.org>
Fri, 25 Jul 2014 11:14:08 +0000 (13:14 +0200)
committerGuus Sliepen <guus@sliepen.org>
Fri, 25 Jul 2014 11:14:08 +0000 (13:14 +0200)
Makefile

index c7232b9bbff76ddf78b27563c791ec22ae6fa38b..f62279859a3ace0308963ab2d3575ad7b08b6094 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,15 @@
 CFLAGS ?= -O0 -Wall -g
 CFLAGS += -std=c99
 
+BIN = selftest test
+
+all: $(BIN)
+
 test: utcp.c test.c
 
 selftest: utcp.c selftest.c
 
 clean:
-       rm -f *.o test selftest
+       rm -f *.o $(BIN)
 
 .PHONY: clean