]>
Commit | Line | Data |
---|---|---|
33611ebb RR |
1 | # Symantec C++ makefile |
2 | ||
3 | WXDIR = $(WXWIN) | |
4 | WXLIB = $(WXDIR)\lib\wx.lib | |
5 | INCDIR = $(WXDIR)\include | |
6 | INCLUDE=$(INCDIR) | |
7 | TARGET=erase | |
8 | ||
9 | include $(WXDIR)\src\makesc.env | |
10 | ||
11 | minimal.exe: minimal.obj $(DEFFILE) minimal.res | |
12 | *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) | |
13 | *$(RC) -k minimal.res | |
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 |