]> git.saurik.com Git - wxWidgets.git/blame - src/makesc.env
no message
[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
JS
18# WIN16 settings
19#CFLAGS = -Jm -ml -W -D__WXMSW__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS)
20#LDFLAGS = -ml -W
21#LINKER = link
22#LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib
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
JS
27LDFLAGS = -Llink386.exe $(EXTRALDFLAGS)
28LINKER = link386
29LIBS=$(WXLIB) $(EXTRALIBS) ctl3d32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib kernel32.lib winmm.lib
2bda0e17
KB
30
31.$(SRCSUFF).obj:
2432b92d
JS
32 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $< -o$@
33
34# -Jm: relaxed type checking
35.c.obj:
36 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
2bda0e17 37
3f1af920
JS
38.rc.res:
39 *$(RC) -r -I$(INCLUDE) $<
40