]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makesc.env
removing unused flags
[wxWidgets.git] / src / makesc.env
... / ...
CommitLineData
1# Common settings for Symantec
2# and digital mars successor (http://www.digitalmars.com)
3SC_SUFFIX=_sc
4
5WXDIR = $(WXWIN)
6INCDIR = $(WXDIR)\include
7MSWINCDIR = $(WXDIR)\include\wx\msw
8ARCHINCDIR = $(WXDIR)\lib\$(SC_SUFFIX)
9LIBDIR = $(WXDIR)\lib
10WXLIB = wx$(SC_SUFFIX).lib
11WINSOCKLIB = $(LIBDIR)\winsock$(SC_SUFFIX).lib
12SUPPORTLIBS = png$(SC_SUFFIX) tiff$(SC_SUFFIX) jpeg$(SC_SUFFIX) zlib$(SC_SUFFIX)
13
14SRCSUFF = cpp
15OBJSUFF = obj
16
17INCLUDE=-I$(INCDIR) -I$(ARCHINCDIR) -I$(WXDIR)/src/regex;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
18
19
20
21# default values
22
23CC=dmc
24RC=rcc
25
26# WIN32 settings
27# -H ... fix to use directory
28CFLAGS = -o -mn -W -H -D__NT__ -DWIN32 -D__WIN32__ -D__WIN95__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
29LINKER = link
30LDFLAGS = $(EXTRALDFLAGS)
31LIBS=$(WXLIB) $(EXTRALIBS) $(SUPPORTLIBS) advapi32 comctl32 comdlg32 ctl3d32 gc gdi32 kernel32 ole32 oleaut32 snn user32 uuid $(WINSOCKLIB)
32DEFFILE=sc32.def
33
34.$(SRCSUFF).obj:
35 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@
36
37# -Jm: relaxed type checking
38.c.obj:
39 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
40
41.rc.res:
42 *$(RC) -D__NT__ -r $(INCLUDE) $<
43