Removed unused files.
[mirror_edk2.git] / Tools / CCode / Source / Pccts / dlg / DlgMS.mak
1 # PCCTS directory
2
3 # You will need to set the LIB variable similar to this.
4 # LIB="C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/lib;c:/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib"
5
6 # PCCTS_HOME=<your PCCTS_HOME>
7 PCCTS_HOME=$(WORKSPACE)\Tools\Source\TianoTools\Pccts
8 DLG_SRC=$(PCCTS_HOME)\dlg
9 PCCTS_H=$(PCCTS_HOME)\h
10
11
12 # Support directories
13 SET=$(PCCTS_HOME)\support\set
14
15
16 # Compiler stuff
17 CC = cl
18 CFLAGS = /nologo -I "." -I "$(PCCTS_H)" -I "$(SET)" -D "USER_ZZSYN" -D "PC" \
19 -D "ZZLEXBUFSIZE=65536" /D "LONGFILENAMES" /W3 /Zi
20
21 DLG_OBJS = dlg_p.obj dlg_a.obj main.obj err.obj support.obj \
22 output.obj relabel.obj automata.obj
23
24 SUPPORT_OBJS = set.obj
25
26 # Dependencies
27
28 dlg.exe: $(DLG_OBJS) $(SUPPORT_OBJS)
29 $(CC) $(CFLAGS) -o dlg.exe $(DLG_OBJS) $(SUPPORT_OBJS)
30 del *.obj
31 del *.ilk
32 del *.pdb
33 move dlg.exe $(WORKSPACE)\Tools\bin\.
34
35 dlg_p.obj: $(DLG_SRC)\dlg_p.c \
36 $(PCCTS_H)\antlr.h \
37 $(PCCTS_H)\config.h \
38 $(PCCTS_H)\dlgdef.h \
39 $(SET)\set.h \
40 $(DLG_SRC)\dlg.h \
41 $(DLG_SRC)\mode.h \
42 $(DLG_SRC)\tokens.h \
43
44 $(CC) -c $(CFLAGS) $(DLG_SRC)\dlg_p.c
45
46 dlg_a.obj: $(DLG_SRC)\dlg_a.c \
47 $(PCCTS_H)\antlr.h \
48 $(PCCTS_H)\config.h \
49 $(PCCTS_H)\dlgauto.h \
50 $(PCCTS_H)\dlgdef.h \
51 $(SET)\set.h \
52 $(DLG_SRC)\dlg.h \
53 $(DLG_SRC)\mode.h \
54 $(DLG_SRC)\tokens.h \
55
56 $(CC) -c $(CFLAGS) $(DLG_SRC)\dlg_a.c
57
58 main.obj: $(DLG_SRC)\main.c \
59 $(PCCTS_H)\antlr.h \
60 $(PCCTS_H)\config.h \
61 $(PCCTS_H)\dlgdef.h \
62 $(SET)\set.h \
63 $(DLG_SRC)\dlg.h \
64 $(DLG_SRC)\mode.h \
65 $(DLG_SRC)\stdpccts.h \
66 $(DLG_SRC)\tokens.h \
67
68 $(CC) -c $(CFLAGS) $(DLG_SRC)\main.c
69
70 err.obj: $(DLG_SRC)\err.c \
71 $(PCCTS_H)\antlr.h \
72 $(PCCTS_H)\config.h \
73 $(PCCTS_H)\dlgdef.h \
74 $(PCCTS_H)\err.h \
75 $(SET)\set.h \
76 $(DLG_SRC)\dlg.h \
77 $(DLG_SRC)\tokens.h \
78
79 $(CC) -c $(CFLAGS) $(DLG_SRC)\err.c
80
81 support.obj: $(DLG_SRC)\support.c \
82 $(PCCTS_H)\config.h \
83 $(SET)\set.h \
84 $(DLG_SRC)\dlg.h \
85
86 $(CC) -c $(CFLAGS) $(DLG_SRC)\support.c
87
88 output.obj: $(DLG_SRC)\output.c \
89 $(PCCTS_H)\config.h \
90 $(SET)\set.h \
91 $(DLG_SRC)\dlg.h \
92
93 $(CC) -c $(CFLAGS) $(DLG_SRC)\output.c
94
95 relabel.obj: $(DLG_SRC)\relabel.c \
96 $(PCCTS_H)\config.h \
97 $(SET)\set.h \
98 $(DLG_SRC)\dlg.h \
99
100 $(CC) -c $(CFLAGS) $(DLG_SRC)\relabel.c
101
102 automata.obj: $(DLG_SRC)\automata.c \
103 $(PCCTS_H)\config.h \
104 $(SET)\set.h \
105 $(DLG_SRC)\dlg.h \
106
107 $(CC) -c $(CFLAGS) $(DLG_SRC)\automata.c
108
109
110 set.obj: $(SET)\set.c \
111 $(PCCTS_H)\config.h \
112 $(SET)\set.h \
113
114 $(CC) -c $(CFLAGS) $(SET)\set.c
115
116 clean:
117 del *.obj
118
119 distclean:
120 del *.obj
121 del $(WORKSPACE)\Tools\bin\dlg.exe