From 0b809c979c773109ff09edd44618e38a4fb6ca50 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 10 Aug 2015 15:00:33 +0200 Subject: Make target & variable names --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 13b445c..04ebf15 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,9 @@ all: $(EXE) $(EXE): % : %.icl | copy $(CLM) $(CLM_LIBS) $(CLM_INC) $(CLM_OPTS) $@ -o $@ +run: $(filter-out run, $(MAKECMDGOALS)) + @for i in $^; do ./$$i; done + rebuild: clean all clean: @@ -28,3 +31,6 @@ clean: copy: mkdir -p "Clean System Files" cp $(OBJECTIOCDIR)/*.o "Clean System Files" + +.PHONY: all run rebuild clean copy + -- cgit v1.2.3