]> git.saurik.com Git - wxWidgets.git/blame - src/makesl.env
restored defaults in switchs removed in the last commit
[wxWidgets.git] / src / makesl.env
CommitLineData
3266f831
JS
1# File: makesl.env
2# Purpose: Salford C++ environment for wxWindows makefiles.
3# Author: Julian Smart
4#
5# The main things to change are:
6#
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).
11
12SALFORDDIR=i:\salfordc
13RESOURCEDIR="/wx2/wxWind~1/include/"
14
15FINAL=0
16.SUFFIXES:
17.SUFFIXES: .exe .obj .c .cc .cpp .res .rc .def .lib
18
19WXDIR = $(WXWIN)
20WXINC = $(WXDIR)\include
21WXLIB = $(WXDIR)\lib
22
23# Suffixes
24OBJSUFF=obj
25SRCSUFF=cpp
26
27DEBUGFLAGS = /DEFINE __WXDEBUG__ /DEBUG
28
29RC = src
30
31CCC = scc
32CC = scc
33STACK =
34
9d8c2f41 35# EXTRALIBS = $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\png.lib &
3266f831
JS
36# $(WATLIBDIR)\odbc32.lib $(WATLIBDIR)\comctl32.lib $(WATLIBDIR)\comdlg32.lib &
37# $(WATLIBDIR)\ole32.lib $(WATLIBDIR)\oleaut32.lib $(WATLIBDIR)\uuid.lib
38
39IFLAGS = /INCLUDE $(WXINC) /INCLUDE $(SALFORDDIR)\include /INCLUDE $(SALFORDDIR)\include\win32
40
41#RESFLAGS1 = -r -bt=nt /i$(WXDIR)\include
42#RESFLAGS2 = -R $(name) /i$(WXDIR)\include
43
44OPTFLAGS=
45
46CPPFLAGS = /WINDOWS /ERROR_NUMBERS /DELETE_OBJ_ON_ERROR /DEFINE WIN32 /DEFINE __WIN32__ /DEFINE __WIN95__ /DEFINE __WINDOWS__ /DEFINE __WXMSW__ /DEFINE __SALFORDC__ $(OPTFLAGS) $(DEBUGFLAGS) $(EXTRACPPFLAGS)
47
48.cpp.obj:
49 $(CCC) $(CPPFLAGS) $(IFLAGS) $<
50
51.c.obj:
52 $(CC) $(CPPFLAGS) $(IFLAGS) $<
53