aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2015-08-10 15:00:33 +0200
committerCamil Staps2015-08-10 15:00:33 +0200
commit0b809c979c773109ff09edd44618e38a4fb6ca50 (patch)
tree7a339894f48a23affb72da0b4cd2676f61d5098b /Makefile
parentObjectIO tests (diff)
Make target & variable names
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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
+