]> git.saurik.com Git - wxWidgets.git/blob - src/makesl.env
Text attributes for GTK2.
[wxWidgets.git] / src / makesl.env
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
12 SALFORDDIR=i:\salfordc
13 RESOURCEDIR="/wx2/wxWind~1/include/"
14
15 FINAL=0
16 .SUFFIXES:
17 .SUFFIXES: .exe .obj .c .cc .cpp .res .rc .def .lib
18
19 WXDIR = $(WXWIN)
20 WXINC = $(WXDIR)\include
21 WXLIB = $(WXDIR)\lib
22
23 # Suffixes
24 OBJSUFF=obj
25 SRCSUFF=cpp
26
27 DEBUGFLAGS = /DEFINE __WXDEBUG__ /DEBUG
28
29 RC = src
30
31 CCC = scc
32 CC = scc
33 STACK =
34
35 # EXTRALIBS = $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\png.lib &
36 # $(WATLIBDIR)\odbc32.lib $(WATLIBDIR)\comctl32.lib $(WATLIBDIR)\comdlg32.lib &
37 # $(WATLIBDIR)\ole32.lib $(WATLIBDIR)\oleaut32.lib $(WATLIBDIR)\uuid.lib
38
39 IFLAGS = /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
44 OPTFLAGS=
45
46 CPPFLAGS = /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