ref: c3340b05dbd4a6e4632e461284fe40a25dfad796
dir: /flex/Makefile/
SOURCES = $(wildcard ../src/*.c) main.c FLASCC:=X FLEX:=X BASE_CFLAGS:=-DFLASCC -O4 -I $(FLASCC)/usr/include check: @if [ -d $(FLASCC)/usr/bin ] ; then true ; \ else echo "Couldn't locate FLASCC sdk directory, please invoke make with \"make FLASCC=/path/to/FLASCC/sdk ...\"" ; exit 1 ; \ fi @if [ -d "$(FLEX)/bin" ] ; then true ; \ else echo "Couldn't locate Flex sdk directory, please invoke make with \"make FLEX=/path/to/flex ...\"" ; exit 1 ; \ fi swc: check "$(FLASCC)/usr/bin/clang" $(BASE_CFLAGS) $(SOURCES) -emit-swc=h264bsd -o h264bsd.swc "$(FLEX)/bin/mxmlc" -static-link-runtime-shared-libraries -compiler.omit-trace-statements=false -library-path=h264bsd.swc -debug=true h264test.as -o h264test.swf clean: rm -f *.swf *.swc *.bc *.exe