adding ipc example and drastically simplifying makefile crap
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,12 +1,10 @@
|
||||
PROJECTS = $(wildcard ./[0-9]*-*)
|
||||
BASE = $(PWD)
|
||||
MXMLC ?= mxmlc
|
||||
SWFS = $(patsubst %.mxml,%.swf,$(wildcard [0-9]*-*/*.mxml))
|
||||
|
||||
|
||||
all:
|
||||
@for project in $(PROJECTS) ; \
|
||||
do \
|
||||
cd $$project && $(MAKE) && cd .. ; \
|
||||
done
|
||||
%.swf : %.mxml
|
||||
$(MXMLC) $< -output $@
|
||||
|
||||
|
||||
clean:
|
||||
find -name \*.swf -exec rm {} \;
|
||||
all: $(SWFS)
|
||||
|
Reference in New Issue
Block a user