]> git.saurik.com Git - wxWidgets.git/blame - samples/notebook/makefile.sc
compilation fix for BC++ (hopefully)
[wxWidgets.git] / samples / notebook / makefile.sc
CommitLineData
b2f757f9
RL
1# Purpose: makefile for notebook example (Symantec C++)
2# Created: 2000-03-15
3
4WXDIR = $(WXWIN)
5WXLIB = $(WXDIR)\lib\wx.lib
6INCDIR = $(WXDIR)\include
7INCLUDE=$(INCDIR)
8TARGET=notebook
9
10include $(WXDIR)\src\makesc.env
11
12notebook.exe: notebook.obj $(DEFFILE) notebook.res
13 *$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
14 *$(RC) -k notebook.res
15
16sc32.def:
17 echo EXETYPE NT > sc32.def
18 echo SUBSYSTEM WINDOWS >> sc32.def
19
20sc16.def:
21 echo NAME $(TARGET) > sc16.def
22 echo EXETYPE WINDOWS >> sc16.def
23 echo STUB 'WINSTUB.EXE' >> sc16.def
24 echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def
25 echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def
26 echo HEAPSIZE 1024 >> sc16.def
27 echo STACKSIZE 8192 >> sc16.def
28
29clean:
30 -del *.obj
31 -del *.exe
32 -del *.res
33 -del *.map
34 -del *.rws
35 -del sc32.def
36 -del sc16.def
37