Skip to content

Instantly share code, notes, and snippets.

@brettchalupa
Created October 20, 2012 02:04
Show Gist options
  • Save brettchalupa/3921706 to your computer and use it in GitHub Desktop.
Save brettchalupa/3921706 to your computer and use it in GitHub Desktop.
Makefile for compiling AS3 into SWFs.
MXMLC = ~/../../Library/flex_sdk_4.6.0.23201B/bin/mxmlc
SRC = src/
MAIN = src/Main.as
SWF = bin/file_name.swf
$(SWF) : $(SRC)
$(MXMLC) -o $(SWF) -static-link-runtime-shared-libraries -- $(MAIN)
run : $(SWF)
open $(SWF)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment