Skip to content

Instantly share code, notes, and snippets.

@Sitebase
Created March 23, 2013 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sitebase/5228001 to your computer and use it in GitHub Desktop.
Save Sitebase/5228001 to your computer and use it in GitHub Desktop.
Makefile for building flex project
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