AST
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

15 行
311 B

LEG = leg
CC = cc
CFLAGS = -Wall -g
LDLIBS = -L/usr/local/lib -lgc
# moved LDLIBS to end because ld scans files from left to right and collects only required symbols
parse: parse.c object.c
$(CC) $(CFLAGS) -o parse parse.c $(LDLIBS)
parse.c: parse.leg
$(LEG) -o parse.c parse.leg
clean:
rm parse parse.c