|
|
@ -16,21 +16,20 @@ SWFS = $(patsubst %.mxml,%.swf,$(wildcard [0-9]*-*/*.mxml))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define all target swc paths (same as with swf paths above)
|
|
|
|
# define all target swc paths (same as with swf paths above)
|
|
|
|
SWCS = $(patsubst %.as,%.swc,$(wildcard comps/*.as))
|
|
|
|
SWCS = $(patsubst %.as,%.swc,$(wildcard com/ag/*.as))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define an implicit build rule for any file matching %.swf,
|
|
|
|
# define an implicit build rule for any file matching %.swf,
|
|
|
|
# using the $< (input) and $@ (output) automatic variables
|
|
|
|
# using the $< (input) and $@ (output) automatic variables
|
|
|
|
%.swf : %.mxml
|
|
|
|
%.swf : %.mxml
|
|
|
|
$(MXMLC) $< -warnings -l+=./comps -output $@
|
|
|
|
$(MXMLC) $< -warnings -l+=./com/ag -output $@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define an implicit build rule for any file matching %.swc,
|
|
|
|
# define an implicit build rule for any file matching %.swc,
|
|
|
|
# using the $< (input) and $@ (output) automatic variables
|
|
|
|
# using the $< (input) and $@ (output) automatic variables
|
|
|
|
# just like with the %.swf implicit rule above
|
|
|
|
# just like with the %.swf implicit rule above
|
|
|
|
%.swc : %.as
|
|
|
|
%.swc : %.as
|
|
|
|
_CLS=$$(echo $< | sed 's@.*/\(.*\)\..*$$@\1@') && \
|
|
|
|
$(COMPC) -sp+=./ -output $@ -include-classes $(subst /,.,$(basename $<))
|
|
|
|
$(COMPC) -sp ./comps -output $@ -include-classes $$_CLS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# build all expected swf and swc files
|
|
|
|
# build all expected swf and swc files
|
|
|
|