# I use mxmlc, which is available for free from Adobe as part of the MXML/Flex system mxmlc=mxmlc -show-binding-warnings -verbose-stacktraces all: main.swf $(shell echo *.as) main.swf: Makefile main.as $(shell echo *.as) $(mxmlc) -optimize main.as # I use 'make devel' to reload the browser page. Assume Safari is # already loaded with the Flash applet, then tell it to reload. devel: all osascript -e 'tell application "Safari"' -e 'do JavaScript "window.location.reload()" in document 1' -e 'end tell'