Fix some cleanall issues
[mirror_edk2.git] / Tools / Source / TianoTools / Pccts / dlg / makefile1
CommitLineData
878ddf1f 1#\r
2# Makefile for DLG 1.33\r
3# Terence Parr\r
4# Purdue University, U of MN, Parr Research Corporation\r
5# 1989-1994\r
6#\r
7# Ported to IBM C-Set/2 and Microsoft 6.0 by\r
8# Ed Harfmann\r
9# Micro Data Base Systems\r
10# Lafayette, Indiana\r
11#\r
12SET=../support/set\r
13PCCTS_H=../h\r
14\r
15##\r
16## Uncomment the appropriate section to build\r
17##\r
18\r
19\r
20#\r
21# UNIX\r
22#\r
23CC=cc\r
24ANTLR=../bin/antlr\r
25DLG=../bin/dlg\r
26ANSI=-ansi\r
27CFLAGS= -O -I. -I$(SET) -I$(PCCTS_H) -DUSER_ZZSYN $(COTHER) $(ANSI) -DZZLEXBUFSIZE=32000\r
28OBJ_EXT=o\r
29OUT_OBJ = -o\r
30OBJ = dlg_p.o dlg_a.o main.o err.o set.o support.o output.o \\r
31 relabel.o automata.o\r
32\r
33dlg : $(OBJ) $(SRC)\r
34 $(CC) $(CFLAGS) -o dlg $(OBJ)\r
35 mv dlg ../bin\r
36\r
37SRC = dlg_p.c dlg_a.c main.c err.c $(SET)/set.c support.c output.c \\r
38 relabel.c automata.c\r
39\r
40dlg_p.c parser.dlg err.c tokens.h : dlg_p.g\r
41 $(ANTLR) dlg_p.g\r
42\r
43dlg_a.c mode.h : parser.dlg\r
44 $(DLG) -C2 parser.dlg dlg_a.c\r
45\r
46dlg_p.$(OBJ_EXT) : dlg_p.c dlg.h tokens.h mode.h\r
47 $(CC) $(CFLAGS) -c dlg_p.c\r
48\r
49dlg_a.$(OBJ_EXT) : dlg_a.c dlg.h tokens.h mode.h\r
50 $(CC) $(CFLAGS) -c dlg_a.c\r
51\r
52main.$(OBJ_EXT) : main.c dlg.h\r
53 $(CC) $(CFLAGS) -c main.c\r
54\r
55set.$(OBJ_EXT) : $(SET)/set.c\r
56 $(CC) -c $(CFLAGS) $(SET)/set.c\r
57\r
58lint:\r
59 lint *.c\r
60\r
61#clean up all the intermediate files\r
62clean:\r
63 rm -f *.$(OBJ_EXT) core\r