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