]> git.saurik.com Git - wxWidgets.git/blame - src/makeprog.sl
support for wxUSE_PALETTE = 0
[wxWidgets.git] / src / makeprog.sl
CommitLineData
3266f831
JS
1#
2# File: makeprog.sl
3# Author: Julian Smart
4# Created: 1998
5#
6# Makefile : Include file for wxWindows samples, Salford C++/WIN32
7
8include ..\..\src\makesl.env
9
10TARGET = $(PROGRAM).exe
11
12ALLOBJECTS = $(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
21clean:
22 -erase *.obj
23 -erase $(TARGET)
24 -erase *.res
25
26cleanall: clean
27
28