summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-01-26 13:32:27 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-01-26 13:32:27 +1300
commitafefa3bb859e4e5c9656e57ea5d2c81ee3aca9ca (patch)
treec7b36eb1b56d6cc1a654ee35082c10977fb6f38b /Makefile
parentRemove bigoted C compiler definition (diff)
downloadfuncptr-afefa3bb859e4e5c9656e57ea5d2c81ee3aca9ca.tar.gz
funcptr-afefa3bb859e4e5c9656e57ea5d2c81ee3aca9ca.zip
Refactor targets into list
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files 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)