]>
Commit | Line | Data |
---|---|---|
58580a7e JS |
1 | # Purpose: makefile for multicell example (Symantec C++) |
2 | # Created 2000-07-28 | |
3 | ||
4 | WXDIR = $(WXWIN) | |
5 | WXLIB = $(WXDIR)\lib\wx.lib | |
6 | INCDIR = $(WXDIR)\include | |
7 | INCLUDE=$(INCDIR) | |
8 | TARGET=mtest | |
9 | OBJECTS = $(TARGET).obj ..\src\multicell.obj | |
10 | EXTRAINC=-I..\include | |
11 | ||
12 | include $(WXDIR)\src\makesc.env | |
13 | ||
14 | mtest.exe: $(OBJECTS) $(DEFFILE) mtest.res | |
15 | *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) | |
16 | *$(RC) -k mtest.res | |
17 | ||
18 | sc32.def: | |
19 | echo EXETYPE NT > sc32.def | |
20 | echo SUBSYSTEM WINDOWS >> sc32.def | |
21 | ||
22 | sc16.def: | |
23 | echo NAME $(TARGET) > sc16.def | |
24 | echo EXETYPE WINDOWS >> sc16.def | |
25 | echo STUB 'WINSTUB.EXE' >> sc16.def | |
26 | echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def | |
27 | echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def | |
28 | echo HEAPSIZE 1024 >> sc16.def | |
29 | echo STACKSIZE 8192 >> sc16.def | |
30 | ||
31 | clean: | |
32 | -del *.obj | |
33 | -del *.exe | |
34 | -del *.res | |
35 | -del *.map | |
36 | -del *.rws | |
37 | -del sc32.def | |
38 | -del sc16.def | |
39 |