]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makeprog.sl | |
3 | # Author: Julian Smart | |
4 | # Created: 1998 | |
5 | # | |
6 | # Makefile : Include file for wxWindows samples, Salford C++/WIN32 | |
7 | ||
8 | include ..\..\src\makesl.env | |
9 | ||
10 | TARGET = $(PROGRAM).exe | |
11 | ||
12 | ALLOBJECTS = $(OBJECTS) $(PROGRAM)_resources.obj | |
13 | ||
14 | $(TARGET) : $(ALLOBJECTS) | |
15 | echo slink $(ALLOBJECTS) $(WXDIR)\src\msw\main.obj $(WXLIB)\wx.lib -subsystem:windows -file:$(TARGET) | |
16 | slink $(ALLOBJECTS) $(WXDIR)\src\msw\main.obj $(WXLIB)\wx.lib -subsystem:windows -file:$(TARGET) | |
17 | ||
18 | $(PROGRAM)_resources.obj: $(PROGRAM).rc | |
19 | src /ERROR_NUMBERS /DELETE_OBJ_ON_ERROR /DEFINE __SALFORDC__ /DEFINE __WXMSW__ /DEFINE __WIN32__ /DEFINE __WIN95__ /DEFINE WXINCDIR=$(RESOURCEDIR) /INCLUDE $(WXDIR)\include /INCLUDE $(WXDIR)\include\wx\msw $(PROGRAM).rc /BINARY $(PROGRAM)_resources.obj | |
20 | ||
21 | clean: | |
22 | -erase *.obj | |
23 | -erase $(TARGET) | |
24 | -erase *.res | |
25 | ||
26 | cleanall: clean | |
27 | ||
28 |