]> git.saurik.com Git - wxWidgets.git/blame - src/makesc.env
fixed infinite recursion in SetFocus()
[wxWidgets.git] / src / makesc.env
CommitLineData
2bda0e17
KB
1# Common settings for Symantec
2
3WXDIR = $(WXWIN)
4INCDIR = $(WXDIR)\include
2432b92d 5LIBDIR = $(WXDIR)\lib
3f1af920 6WXLIB = $(LIBDIR)\wx.lib
2bda0e17
KB
7
8SRCSUFF = cpp
9OBJSUFF = obj
10
2432b92d
JS
11INCLUDE=$(INCDIR)
12
2bda0e17
KB
13# default values
14
15CC=sc
16RC=rc
2432b92d 17
3f1af920 18# WIN16 settings
3d05544e 19#CFLAGS = -Jm -ml -W -D__WXMSW__ -D__SC__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS)
3f1af920 20#LINKER = link
3d05544e
JS
21#LDFLAGS = -ml -W -L$(LINKER).exe $(EXTRALDFLAGS)
22#LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib # $(LIB)\ctl3dv2.lib
3f1af920
JS
23#DEFFILE=sc16.def
24
25# WIN32 settings
2432b92d 26CFLAGS = -o -mn -W -D__NT__ -DWIN32 -D__WIN32__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
3f1af920 27LINKER = link386
3d05544e 28LDFLAGS = -L$(LINKER).exe $(EXTRALDFLAGS)
3f1af920 29LIBS=$(WXLIB) $(EXTRALIBS) ctl3d32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib kernel32.lib winmm.lib
3d05544e 30DEFFILE=sc32.def
2bda0e17
KB
31
32.$(SRCSUFF).obj:
2432b92d
JS
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$@
2bda0e17 38
3f1af920
JS
39.rc.res:
40 *$(RC) -r -I$(INCLUDE) $<
41