simplifying mxml/as crap, removing com/ag/ package
This commit is contained in:
8
Makefile
8
Makefile
@@ -15,14 +15,10 @@ COMPC ?= compc
|
||||
SWFS = $(patsubst %.mxml,%.swf,$(wildcard [0-9]*-*/*.mxml))
|
||||
|
||||
|
||||
# define all target swc paths (same as with swf paths above)
|
||||
SWCS = $(patsubst %.as,%.swc,$(wildcard com/ag/*.as))
|
||||
|
||||
|
||||
# define an implicit build rule for any file matching %.swf,
|
||||
# using the $< (input) and $@ (output) automatic variables
|
||||
%.swf : %.mxml
|
||||
$(MXMLC) $< -warnings -l+=./com/ag -l+=$(dir $<) -output $@
|
||||
$(MXMLC) $< -warnings -l+=$(dir $<) -output $@
|
||||
|
||||
|
||||
# define an implicit build rule for any file matching %.swc,
|
||||
@@ -33,7 +29,7 @@ SWCS = $(patsubst %.as,%.swc,$(wildcard com/ag/*.as))
|
||||
|
||||
|
||||
# build all expected swf and swc files
|
||||
all: $(SWCS) $(SWFS)
|
||||
all: $(SWFS)
|
||||
|
||||
|
||||
# remove all swf files in the tree
|
||||
|
Reference in New Issue
Block a user