Added some makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
28
src/makeprog.sl
Normal file
28
src/makeprog.sl
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# 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
|
||||
|
||||
|
Reference in New Issue
Block a user