Skip to content

Instantly share code, notes, and snippets.

@mattrobenolt
Last active December 10, 2015 18:18
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 mattrobenolt/4473290 to your computer and use it in GitHub Desktop.
Save mattrobenolt/4473290 to your computer and use it in GitHub Desktop.
Compiling Actionscript files to swf with the Flex SDK using a Makefile
MXMLC=/usr/local/Cellar/flex_sdk/4.6.0.23201/libexec/bin/mxmlc
all: HelloWorld.swf
.as.swf:
$(MXMLC) --static-link-runtime-shared-libraries=true -o $@ $<
.PHONY: all
.SUFFIXES: .as .swf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment