]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makesc.env
tried to correct the colour problems
[wxWidgets.git] / src / makesc.env
... / ...
CommitLineData
1# Common settings for Symantec
2
3WXDIR = $(WXWIN)
4INCDIR = $(WXDIR)\include
5LIBDIR = $(WXDIR)\lib
6WXLIB = $(LIBDIR)\wx.lib
7
8SRCSUFF = cpp
9OBJSUFF = obj
10
11INCLUDE=$(INCDIR)
12
13# default values
14
15CC=sc
16RC=rc
17
18# WIN16 settings
19#CFLAGS = -Jm -ml -W -D__WXMSW__ -D__SC__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS)
20#LINKER = link
21#LDFLAGS = -ml -W -L$(LINKER).exe $(EXTRALDFLAGS)
22#LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib # $(LIB)\ctl3dv2.lib
23#DEFFILE=sc16.def
24
25# WIN32 settings
26CFLAGS = -o -mn -W -D__NT__ -DWIN32 -D__WIN32__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
27LINKER = link386
28LDFLAGS = -L$(LINKER).exe $(EXTRALDFLAGS)
29LIBS=$(WXLIB) $(EXTRALIBS) ctl3d32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib kernel32.lib winmm.lib
30DEFFILE=sc32.def
31
32.$(SRCSUFF).obj:
33 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $< -o$@
34
35# -Jm: relaxed type checking
36.c.obj:
37 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
38
39.rc.res:
40 *$(RC) -r -I$(INCLUDE) $<
41