]> git.saurik.com Git - wxWidgets.git/blob - samples/layout/makefile.sc
merged 2.4 branch into the trunk
[wxWidgets.git] / samples / layout / makefile.sc
1 # Symantec C++ makefile for layout example
2 # NOTE that peripheral libraries are now dealt in main wxWindows makefile.
3
4 WXDIR = $(WXWIN)
5 !include $(WXDIR)\src\makesc.env
6
7 WXLIB = $(WXDIR)\lib\wx.lib
8 INCDIR = $(WXDIR)\include
9 MSWINC = $(INCDIR)\msw
10 BASEINC = $(INCDIR)\base
11
12 CC=sc
13 RC=rc
14 CFLAGS = -o -ml -W -Dwx_msw
15 LDFLAGS = -ml -W
16
17 INCLUDE=$(BASEINC);$(MSWINC)
18
19 LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
20
21 .$(SRCSUFF).obj:
22 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
23
24 .rc.res:
25 *$(RC) -r -I$(INCLUDE) $<
26
27 layout.exe: layout.obj layout.def layout.res
28 *$(CC) $(LDFLAGS) -o$@ layout.obj layout.def $(LIBS)
29 *$(RC) -k layout.res
30
31 clean:
32 -del *.obj
33 -del *.exe
34 -del *.res
35 -del *.map
36 -del *.rws
37