wxWidgets/src/makeprog.sl
Julian Smart 3266f831ca Added some makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-25 12:15:20 +00:00

29 lines
856 B
Plaintext

#
# File: makeprog.sl
# Author: Julian Smart
# Created: 1998
#
# Makefile : Include file for wxWindows samples, Salford C++/WIN32
include ..\..\src\makesl.env
TARGET = $(PROGRAM).exe
ALLOBJECTS = $(OBJECTS) $(PROGRAM)_resources.obj
$(TARGET) : $(ALLOBJECTS)
echo slink $(ALLOBJECTS) $(WXDIR)\src\msw\main.obj $(WXLIB)\wx.lib -subsystem:windows -file:$(TARGET)
slink $(ALLOBJECTS) $(WXDIR)\src\msw\main.obj $(WXLIB)\wx.lib -subsystem:windows -file:$(TARGET)
$(PROGRAM)_resources.obj: $(PROGRAM).rc
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
clean:
-erase *.obj
-erase $(TARGET)
-erase *.res
cleanall: clean