]>
Commit | Line | Data |
---|---|---|
2fd284a4 JS |
1 | # |
2 | # File: makefile.nt | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
5 | # Updated: | |
6 | # Copyright: (c) 1997, Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds xpm.lib for VC++ (32-bit) | |
11 | # | |
48d1144b | 12 | !include <..\makevc.env> |
2fd284a4 JS |
13 | |
14 | THISDIR=$(WXWIN)\src\xpm | |
15 | ||
16 | LIBTARGET=$(WXDIR)\lib\xpm.lib | |
17 | ||
18 | # Please set these according to the settings in wx_setup.h, so we can include | |
19 | # the appropriate libraries in wx.lib | |
20 | ||
21 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
22 | MINIMAL_WXWINDOWS_SETUP=0 | |
23 | ||
24 | PERIPH_LIBS= | |
25 | PERIPH_TARGET= | |
26 | PERIPH_CLEAN_TARGET= | |
27 | ||
28 | XPMDIR=$(WXDIR)\src\xpm | |
29 | ||
30 | OBJECTS = $(XPMDIR)\crbuffri.obj\ | |
31 | $(XPMDIR)\crdatfri.obj\ | |
32 | $(XPMDIR)\create.obj $(XPMDIR)\crifrbuf.obj\ | |
33 | $(XPMDIR)\crifrdat.obj\ | |
34 | $(XPMDIR)\data.obj\ | |
35 | $(XPMDIR)\hashtab.obj $(XPMDIR)\misc.obj\ | |
36 | $(XPMDIR)\parse.obj $(XPMDIR)\rdftodat.obj\ | |
37 | $(XPMDIR)\rdftoi.obj\ | |
38 | $(XPMDIR)\rgb.obj $(XPMDIR)\scan.obj\ | |
39 | $(XPMDIR)\simx.obj $(XPMDIR)\wrffrdat.obj\ | |
40 | $(XPMDIR)\wrffrp.obj $(XPMDIR)\wrffri.obj | |
41 | ||
42 | all: $(LIBTARGET) | |
43 | ||
44 | $(LIBTARGET): $(OBJECTS) | |
45 | -erase $(LIBTARGET) | |
46 | $(implib) @<< | |
47 | -out:$@ | |
48 | -machine:$(CPU) | |
49 | $(OBJECTS) $(PERIPH_LIBS) | |
50 | << | |
51 | ||
52 | $(XPMDIR)\crbuffri.obj: $(XPMDIR)\crbuffri.c | |
53 | cl @<< | |
54 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
55 | << | |
56 | ||
57 | $(XPMDIR)\crbuffrp.obj: $(XPMDIR)\crbuffrp.c | |
58 | cl @<< | |
59 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
60 | << | |
61 | ||
62 | $(XPMDIR)\crdatfri.obj: $(XPMDIR)\crdatfri.c | |
63 | cl @<< | |
64 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
65 | << | |
66 | ||
67 | $(XPMDIR)\crdatfrp.obj: $(XPMDIR)\crdatfrp.c | |
68 | cl @<< | |
69 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
70 | << | |
71 | ||
72 | $(XPMDIR)\create.obj: $(XPMDIR)\create.c | |
73 | cl @<< | |
74 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
75 | << | |
76 | ||
77 | $(XPMDIR)\crifrbuf.obj: $(XPMDIR)\crifrbuf.c | |
78 | cl @<< | |
79 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
80 | << | |
81 | ||
82 | $(XPMDIR)\crifrdat.obj: $(XPMDIR)\crifrdat.c | |
83 | cl @<< | |
84 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
85 | << | |
86 | ||
87 | $(XPMDIR)\crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c | |
88 | cl @<< | |
89 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
90 | << | |
91 | ||
92 | $(XPMDIR)\crpfrdat.obj: $(XPMDIR)\crpfrdat.c | |
93 | cl @<< | |
94 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
95 | << | |
96 | ||
97 | $(XPMDIR)\data.obj: $(XPMDIR)\data.c | |
98 | cl @<< | |
99 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
100 | << | |
101 | ||
102 | $(XPMDIR)\hashtab.obj: $(XPMDIR)\hashtab.c | |
103 | cl @<< | |
104 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
105 | << | |
106 | ||
107 | $(XPMDIR)\misc.obj: $(XPMDIR)\misc.c | |
108 | cl @<< | |
109 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
110 | << | |
111 | ||
112 | $(XPMDIR)\parse.obj: $(XPMDIR)\parse.c | |
113 | cl @<< | |
114 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
115 | << | |
116 | ||
117 | $(XPMDIR)\rdftodat.obj: $(XPMDIR)\rdftodat.c | |
118 | cl @<< | |
119 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
120 | << | |
121 | ||
122 | $(XPMDIR)\rdftoi.obj: $(XPMDIR)\rdftoi.c | |
123 | cl @<< | |
124 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
125 | << | |
126 | ||
127 | $(XPMDIR)\rdftop.obj: $(XPMDIR)\rdftop.c | |
128 | cl @<< | |
129 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
130 | << | |
131 | ||
132 | $(XPMDIR)\rgb.obj: $(XPMDIR)\rgb.c | |
133 | cl @<< | |
134 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
135 | << | |
136 | ||
137 | $(XPMDIR)\scan.obj: $(XPMDIR)\scan.c | |
138 | cl @<< | |
139 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
140 | << | |
141 | ||
142 | $(XPMDIR)\simx.obj: $(XPMDIR)\simx.c | |
143 | cl @<< | |
144 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
145 | << | |
146 | ||
147 | $(XPMDIR)\wrffrdat.obj: $(XPMDIR)\wrffrdat.c | |
148 | cl @<< | |
149 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
150 | << | |
151 | ||
152 | $(XPMDIR)\wrffri.obj: $(XPMDIR)\wrffri.c | |
153 | cl @<< | |
154 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
155 | << | |
156 | ||
157 | $(XPMDIR)\wrffrp.obj: $(XPMDIR)\wrffrp.c | |
158 | cl @<< | |
159 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
160 | << | |
161 | ||
162 | clean: | |
163 | -erase *.obj | |
164 | -erase $(LIBTARGET) | |
165 | -erase *.pdb | |
166 | -erase *.sbr | |
167 | -erase *.pch | |
168 | ||
169 | cleanall: clean | |
170 |