]>
Commit | Line | Data |
---|---|---|
1 | # Symantec DigitalMars C++ makefile | |
2 | ||
3 | WXLIB = $(WXDIR)\lib\wx.lib | |
4 | INCDIR = $(WXDIR)\include | |
5 | INCLUDE=$(INCDIR) | |
6 | ||
7 | include $(WXDIR)\src\makesc.env | |
8 | ||
9 | $(TARGET).exe: $(TARGET).obj $(TARGET).res | |
10 | link $(LDFLAGS) /DELEXECUTABLE /RC $*, $@, $*, $(LIBDIR)\ $(LIBS) | |
11 | ||
12 | ||
13 | sc32.def: | |
14 | echo EXETYPE NT > sc32.def | |
15 | echo SUBSYSTEM WINDOWS >> sc32.def | |
16 | ||
17 | clean: | |
18 | -del *.obj | |
19 | -del *.exe | |
20 | -del *.res | |
21 | -del *.map | |
22 | -del *.rws | |
23 | -del *.sym | |
24 | -del sc16.def | |
25 | ||
26 | cleanexe: | |
27 | -del *.exe | |
28 | ||
29 | relink: cleanexe $(TARGET).exe | |
30 | ||
31 | ||
32 |