📄 makefile
字号:
# as31 - 8031/8051 Assembler## Maintained at: http://www.pjrc.com/tech/8051/# Please report problems to: paul@pjrc.com### REVISION HISTORY:# Jan. 19, 1990 Created. (Ken Stauffer).# Jan. 30, 1990 Theo played here.# Late 1994 Paul Stoffregen updates the code# Sept 1995 bug fixes, add obsure option for cgi# April 2000 fix filename handling# convert everything to ANSI C and bison# properly handle 0b0h as hex 0xB0, not binary 0# Make most errors into warning, and modify parser# to recover and continue to the end of the file# so that all warning are shown.# March 2001 fix crash with srecord format# command line version returns non-zero on error#Use this CFLAGS line with gcc on linuxCFLAGS=-O3 -WallCC=gcc#Use this CFLAGS line on solaris, etc#CFLAGS=-O#Try these for HPUX#CFLAGS=-O2#CC=gccOBJ=run.o lexer.o parser.o symbol.o emitter.oall: as31 as31_gtkas31: $(OBJ) as31.o $(CC) $(CFLAGS) -o as31 $(OBJ) as31.o chmod a+rx as31 strip as31as31_gtk: $(OBJ) as31_gtk.o $(CC) $(CFLAGS) -o as31_gtk $(OBJ) as31_gtk.o `gtk-config --libs` chmod a+rx as31 strip as31parser.c parser.h: parser.y bison -d -o parser.c parser.yas31_gtk.o: as31_gtk.c as31.h $(CC) $(CFLAGS) `gtk-config --cflags` -c as31_gtk.c as31.o: as31.c as31.hemitter.o: emitter.c as31.hsymbol.o: symbol.c as31.h parser.hlexer.o: lexer.c as31.h parser.hparser.o: parser.c as31.hrun.o: run.c as31.hclean: rm -f as31 as31_gtk *~ *.o parser.c parser.h core rm -f *.lst *.hex *.tdr *.byte *.od *.srec
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -