]>
Commit | Line | Data |
---|---|---|
14d1ccd8 JS |
1 | # Symantec C++ makefile for the buttonbar library |
2 | ||
3 | WXDIR = $(WXWIN) | |
4 | !include $(WXDIR)\src\makesc.env | |
5 | ||
6 | WXLIB = $(WXDIR)\lib\wx.lib | |
7 | INCDIR = $(WXDIR)\include | |
8 | MSWINC = $(INCDIR)\msw | |
9 | BASEINC = $(INCDIR)\base | |
10 | ||
11 | BUTTNBARDIR = $(WXDIR)\samples\buttnbar | |
12 | ||
13 | # Default is to output RTF for WinHelp | |
14 | WINHELP=-winhelp | |
15 | ||
16 | CC=sc | |
17 | RC=rc | |
18 | CFLAGS = -o -ml -W -Dwx_msw | |
19 | LDFLAGS = -ml -W | |
20 | ||
21 | INCLUDE=$(BASEINC);$(MSWINC) | |
22 | ||
23 | LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib | |
24 | ||
25 | all: test.exe | |
26 | ||
27 | .$(SRCSUFF).obj: | |
28 | *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< | |
29 | ||
30 | .rc.res: | |
31 | *$(RC) -r -I$(INCLUDE) $< | |
32 | ||
33 | test.exe: test.obj test.def test.res | |
34 | *$(CC) $(LDFLAGS) -o$@ test.obj test.def $(LIBS) | |
35 | *$(RC) -k test.res | |
36 | ||
37 | clean: | |
38 | -del *.obj | |
39 | -del *.exe | |
40 | -del *.res | |
41 | -del *.map | |
42 |