makefile

来自「flash swf file player」· 代码 · 共 54 行

TXT
54
字号
include ../../config.makeINCLUDES	+= -I..LIBS		+= -lm#DEBUG = --debug# In case we need to get more information out of flex#FLEXDEBUG = -dMOSTFILES = compile.o listaction.o \	    lex.swf4.o lex.swf5.o swf5compiler.tab.o swf4compiler.tab.o \	    assembler.oGENERATED = lex.swf4.c lex.swf5.c swf5compiler.tab.c swf4compiler.tab.cOFILES = $(MOSTFILES) compileaction.o## Needs to be placed after variable defs but before rulesinclude ../../Rules.makeall: $(OFILES)clean:	rm -f $(OFILES) $(GENERATED) compiler compiler.exe core test main.o \	swf*compiler.tab.* lex*.ctest: $(MOSTFILES) main.o	$(CC) -o test main.o $(MOSTFILES) $(LIBS).o: .c .hswf5compiler.tab.c: swf5compiler.y	bison -p swf5 swf5compiler.yswf5compiler.tab.h: swf5compiler.y	bison --defines $(DEBUG) -p swf5 swf5compiler.yswf4compiler.tab.c: swf4compiler.y	bison -p swf4 swf4compiler.yswf4compiler.tab.h: swf4compiler.y	bison --defines $(DEBUG) -p swf4 swf4compiler.ylex.swf4.o: lex.swf4.clex.swf4.c: swf4compiler.flex swf4compiler.tab.h	flex $(FLEXDEBUG) -i -Pswf4 swf4compiler.flexlex.swf5.o: lex.swf5.clex.swf5.c: swf5compiler.flex swf5compiler.tab.h	flex $(FLEXDEBUG) -i -Pswf5 swf5compiler.flex

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?