From afefa3bb859e4e5c9656e57ea5d2c81ee3aca9ca Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 26 Jan 2018 13:32:27 +1300 Subject: Refactor targets into list --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 36e0974..ea0ba3f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ .POSIX: .PHONY: all clean - -all : funcptr funcptrptr - -clean : - rm -f funcptr funcptrptr +ALL = funcptr funcptrptr +all: $(ALL) +clean: + rm -f $(ALL) -- cgit v1.2.3