From 006b362416d7a03716677151c6575c7b1745957b Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 10 Aug 2015 15:00:33 +0200 Subject: Make target & variable names --- objectio/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'objectio/Makefile') diff --git a/objectio/Makefile b/objectio/Makefile index 13b445c..04ebf15 100644 --- a/objectio/Makefile +++ b/objectio/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