From 6b1ab2ca3d67810297fcbc3ecfb2af179d02427b Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 19 Jul 2019 12:59:20 -0400 Subject: use PROGRAMS macro to enable clean target --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f907660..8ab7115 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,8 @@ .POSIX: -all: hostid sync +PROGRAMS=hostid sync + +all: $(PROGRAMS) + +clean: + rm -f $(PROGRAMS) *.o -- cgit v1.2.1