]>
Commit | Line | Data |
---|---|---|
11e2dfd3 RL |
1 | # Purpose: makefile for dragimag example (Symantec C++) |
2 | # Created: 2000-03-15 | |
68be9f09 JS |
3 | |
4 | WXDIR = $(WXWIN) | |
5 | WXLIB = $(WXDIR)\lib\wx.lib | |
6 | INCDIR = $(WXDIR)\include | |
7 | INCLUDE=$(INCDIR) | |
11e2dfd3 | 8 | TARGET=dragimag |
68be9f09 JS |
9 | |
10 | include $(WXDIR)\src\makesc.env | |
11 | ||
11e2dfd3 | 12 | dragimag.exe: dragimag.obj $(DEFFILE) dragimag.res |
68be9f09 | 13 | *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) |
11e2dfd3 | 14 | *$(RC) -k dragimag.res |
68be9f09 JS |
15 | |
16 | sc32.def: | |
17 | echo EXETYPE NT > sc32.def | |
18 | echo SUBSYSTEM WINDOWS >> sc32.def | |
19 | ||
20 | sc16.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 | ||
29 | clean: | |
30 | -del *.obj | |
31 | -del *.exe | |
32 | -del *.res | |
33 | -del *.map | |
34 | -del *.rws | |
35 | -del sc32.def | |
36 | -del sc16.def | |
37 |