]> git.meshlink.io Git - utcp/blobdiff - Makefile
Build both binaries.
[utcp] / 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