organizing as and swc files a bit more sanely
This commit is contained in:
parent
64f116a83d
commit
732624dea7
@ -13,7 +13,7 @@
|
|||||||
import mx.rpc.events.FaultEvent;
|
import mx.rpc.events.FaultEvent;
|
||||||
import mx.controls.Alert;
|
import mx.controls.Alert;
|
||||||
|
|
||||||
import RequestParams;
|
import com.ag.RequestParams;
|
||||||
|
|
||||||
[Bindable]
|
[Bindable]
|
||||||
private var photoFeed:ArrayCollection;
|
private var photoFeed:ArrayCollection;
|
||||||
|
7
Makefile
7
Makefile
@ -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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package
|
package com.ag
|
||||||
{
|
{
|
||||||
public class RequestParams
|
public class RequestParams
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user