]> git.saurik.com Git - wxWidgets.git/blob - src/makesc.env
Simplified sizing code. Sub-windows are now sized explicitly in wxGrid::CalcWindowSi...
[wxWidgets.git] / src / makesc.env
1 # Common settings for Symantec
2
3 WXDIR = $(WXWIN)
4 INCDIR = $(WXDIR)\include
5 LIBDIR = $(WXDIR)\lib
6 WXLIB = $(LIBDIR)\wx.lib
7
8 SRCSUFF = cpp
9 OBJSUFF = obj
10
11 INCLUDE=$(INCDIR)
12
13 # default values
14
15 CC=sc
16 RC=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
26 CFLAGS = -o -mn -W -D__NT__ -DWIN32 -D__WIN32__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
27 LINKER = link386
28 LDFLAGS = -L$(LINKER).exe $(EXTRALDFLAGS)
29 LIBS=$(WXLIB) $(EXTRALIBS) ctl3d32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib kernel32.lib winmm.lib
30 DEFFILE=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