]>
Commit | Line | Data |
---|---|---|
447daba1 JS |
1 | ; Last change: JS 10 Jul 98 11:33 am |
2 | # Symantec C++ makefile for controls example | |
1c005ff7 RR |
3 | # NOTE that peripheral libraries are now dealt in main wxWindows makefile. |
4 | ||
5 | WXDIR = $(WXWIN) | |
6 | !include $(WXDIR)\src\makesc.env | |
7 | ||
8 | WXLIB = $(WXDIR)\lib\wx.lib | |
9 | INCDIR = $(WXDIR)\include | |
10 | MSWINC = $(INCDIR)\msw | |
11 | BASEINC = $(INCDIR)\base | |
12 | ||
13 | CC=sc | |
14 | RC=rc | |
15 | CFLAGS = -o -ml -W -Dwx_msw | |
16 | LDFLAGS = -ml -W | |
17 | ||
18 | INCLUDE=$(BASEINC);$(MSWINC) | |
19 | ||
20 | LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib | |
21 | ||
22 | .$(SRCSUFF).obj: | |
23 | *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< | |
24 | ||
25 | .rc.res: | |
26 | *$(RC) -r -I$(INCLUDE) $< | |
27 | ||
447daba1 | 28 | controls.exe: controls.obj controls.def controls.res |
1c005ff7 RR |
29 | *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) |
30 | ||
31 | clean: | |
32 | -del *.obj | |
33 | -del *.exe | |
34 | -del *.res | |
35 | -del *.map | |
36 | -del *.rws |