📄 makefile
字号:
#CC = gcc -g -pg -a # profiling flags#CC = gcc -O5CC = gcc -O2 -Wall -I. ${CFLAGS} #-fPIC -ggdbLDFLAGS = -lm -lz # -ldmallocLIBDIR = /usr/local/libinclude ../config.makeOFILES = \ blocklist.o \ displaylist.o \ fill.o \ font_util.o \ ming.o \ movie.o \ movieclip.o \ position.o \ shape_cubic.o \ shape_util.o \ text_util.oCOMPILEROFILES = actioncompiler/compile.o \ actioncompiler/swf4compiler.tab.o \ actioncompiler/lex.swf4.o \ actioncompiler/swf5compiler.tab.o \ actioncompiler/lex.swf5.o \ actioncompiler/compileaction.o \ actioncompiler/assembler.oall: dynamic# saveFP and restFP on OS X can be retrieved as such:# ar -x /usr/lib/libcc_dynamic.a lib/macosx-fpsave.odynamic: ${OFILES} cd blocks && make cd actioncompiler && make ${CC} ${OFILES} ${COMPILEROFILES} ${LDFLAGS} ${EXTRA_LIBS} blocks/*.o -shared -o libming.so cp libming.so ..static: ${OFILES} cd blocks && make cd actioncompiler && make ar r libming.a blocks/*.o ${OFILES} ${COMPILEROFILES} ranlib libming.a # bsd requires this? cp libming.a ..clean: cd blocks && make clean cd actioncompiler && make clean rm -f *.o libming.a libming.so test test.exe core *.core# breaks on bsd:#.c.o: .c .h# ${CC} ${FLAGS} -c $<test: static test.o ${CC} -o test test.o libming.a ${EXTRA_LIBS} ${LDFLAGS}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -