Created
March 23, 2013 14:55
-
-
Save Sitebase/5228001 to your computer and use it in GitHub Desktop.
Makefile for building flex project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FLEX="/Applications/Adobe Flash Builder 4/sdks/4.0.0" | |
FLEXBIN=${FLEX}/bin | |
MXMLC=${FLEXBIN}/mxmlc | |
OPTIMIZER=${FLEXBIN}/optimizer | |
debug: | |
${MXMLC} -debug=true -incremental=true -benchmark=false -static-link-runtime-shared-libraries=true -o bin-debug/WebcamRecorderApp.swf src/WebcamRecorderApp.mxml | |
final: | |
${MXMLC} -optimize=true -static-link-runtime-shared-libraries=true -o bin-final/WebcamRecorderApp.tmp.swf src/WebcamRecorderApp.mxml | |
${OPTIMIZER} -keep-as3-metadata Bindable Managed ChangeEvent NonCommittingChangeEvent Transient -input bin-final/WebcamRecorderApp.tmp.swf -output bin-final/WebcamRecorderApp.swf | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment