diff options
author | Camil Staps | 2015-08-10 15:00:33 +0200 |
---|---|---|
committer | Camil Staps | 2015-08-10 15:00:33 +0200 |
commit | 006b362416d7a03716677151c6575c7b1745957b (patch) | |
tree | 50f4a04d9a12829f62f607d3cf5fe91ba597df23 /objectio/Makefile | |
parent | ObjectIO tests (diff) |
Make target & variable names
Diffstat (limited to 'objectio/Makefile')
-rw-r--r-- | objectio/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 + |