]> git.saurik.com Git - wxWidgets.git/blame - samples/mdi/makefile.sc
moved MGL initialization to earlier stage (crashes otherwise...) and implemented...
[wxWidgets.git] / samples / mdi / makefile.sc
CommitLineData
c801d85f
KB
1# Symantec C++ makefile for mdi example
2# NOTE that peripheral libraries are now dealt in main wxWindows makefile.
3
4WXDIR = $(WXWIN)
5!include $(WXDIR)\src\makesc.env
6
7WXLIB = $(WXDIR)\lib\wx.lib
8INCDIR = $(WXDIR)\include
9MSWINC = $(INCDIR)\msw
10BASEINC = $(INCDIR)\base
11
12CC=sc
13RC=rc
14CFLAGS = -o -ml -W -Dwx_msw
15LDFLAGS = -ml -W
16
17INCLUDE=$(BASEINC);$(MSWINC)
18
19LIBS=$(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
27mdi.exe: mdi.obj mdi.def mdi.res
28 *$(CC) $(LDFLAGS) -o$@ mdi.obj mdi.def $(LIBS)
29 *$(RC) -k mdi.res
30
31clean:
32 -del *.obj
33 -del *.exe
34 -del *.res
35 -del *.map
36 -del *.rws