2 # Purpose: Salford C++ environment for wxWindows makefiles.
5 # The main things to change are:
7 # SALFORDDIR: set to where the wxWindows is installed
8 # RESOURCEDIR: set to Unix form of include path, for wx.rc processing.
9 # (necessary for some reason as the resource compiler can't
10 # resolve paths otherwise).
12 SALFORDDIR=i:\salfordc
13 RESOURCEDIR="/wx2/wxWind~1/include/"
17 .SUFFIXES: .exe .obj .c .cc .cpp .res .rc .def .lib
20 WXINC = $(WXDIR)\include
27 DEBUGFLAGS = /DEFINE __WXDEBUG__ /DEBUG
35 # EXTRALIBS = $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\png.lib $(WXDIR)\lib\xpm.lib &
36 # $(WATLIBDIR)\odbc32.lib $(WATLIBDIR)\comctl32.lib $(WATLIBDIR)\comdlg32.lib &
37 # $(WATLIBDIR)\ole32.lib $(WATLIBDIR)\oleaut32.lib $(WATLIBDIR)\uuid.lib
39 IFLAGS = /INCLUDE $(WXINC) /INCLUDE $(SALFORDDIR)\include /INCLUDE $(SALFORDDIR)\include\win32
41 #RESFLAGS1 = -r -bt=nt /i$(WXDIR)\include
42 #RESFLAGS2 = -R $(name) /i$(WXDIR)\include
46 CPPFLAGS = /WINDOWS /ERROR_NUMBERS /DELETE_OBJ_ON_ERROR /DEFINE WIN32 /DEFINE __WIN32__ /DEFINE __WIN95__ /DEFINE __WINDOWS__ /DEFINE __WXMSW__ /DEFINE __SALFORDC__ $(OPTFLAGS) $(DEBUGFLAGS) $(EXTRACPPFLAGS)
49 $(CCC) $(CPPFLAGS) $(IFLAGS) $<
52 $(CC) $(CPPFLAGS) $(IFLAGS) $<