Skip to content

Commit

Permalink
Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlei committed Aug 29, 2016
1 parent 0352f11 commit ad25956
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smop/libscripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ PYFILES= $(sort $(subst .m,.py,$(notdir $(MFILES) )))
MFILES = $(shell find $(SCRIPTS) -name \*.m -type f)
CYTHON = cython
PYTHON = python
CAT = cat
XFILES = -x white.m,summer.m,spring.m,rainbow.m,prism.m,pink.m,ocean.m,lines.m,jet.m
FLAGS =
SMOP = $(PYTHON) ../main.py
Expand All @@ -20,6 +21,6 @@ clean:

%.py: %.m
$(SMOP) $^ $(FLAGS) $(XFILES)
($(PYTHON) $@ && cat $@ >> libscripts.py)
($(PYTHON) $@ && $(CAT) $@ >> libscripts.py)


0 comments on commit ad25956

Please sign in to comment.