]> git.saurik.com Git - wxWidgets.git/blob - src/makesc.env
Added configtool to configure and Makefile.in
[wxWidgets.git] / src / makesc.env
1 # Common settings for Symantec
2 # and digital mars successor (http://www.digitalmars.com)
3 SC_SUFFIX=_sc
4
5 ####WXDIR = $(WXWIN)
6 INCDIR = $(WXDIR)\include
7 CONTRIBINCDIR = $(WXDIR)\contrib\include
8 MSWINCDIR = $(WXDIR)\include\wx\msw
9 ARCHINCDIR = $(WXDIR)\lib\$(SC_SUFFIX)
10 LIBDIR = $(WXDIR)\lib
11 WXLIB = wx$(SC_SUFFIX).lib
12 WINSOCKLIB = wsock32$(SC_SUFFIX)
13 SHELLLIB = shell32$(SC_SUFFIX)
14 SUPPORTLIBS = png$(SC_SUFFIX) tiff$(SC_SUFFIX) jpeg$(SC_SUFFIX) zlib$(SC_SUFFIX) $(SHELLLIB) $(WINSOCKLIB)
15
16 SRCSUFF = cpp
17 OBJSUFF = obj
18
19 INCLUDE=-I$(INCDIR) -I$(ARCHINCDIR) -I$(CONTRIBINCDIR) -I$(WXDIR)/src/regex;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
20
21
22
23 # default values
24
25 CC=dmc
26 RC=rcc
27
28 # WIN32 settings
29 # -H ... fix to use directory
30 CFLAGS = -o -mn -W -H -D__NT__ -DWIN32 -D__WIN32__ -D__WIN95__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
31 LINKER = link
32 # possible bug with putting d on any extralibs if we have debug and release versions one day
33 LDFLAGS = $(EXTRALDFLAGS)
34 LIBS=$(WXLIB) $(EXTRALIBS) $(SUPPORTLIBS) advapi32 comctl32 comdlg32 ctl3d32 gc gdi32 kernel32 ole32 oleaut32 snn user32 uuid
35
36
37 .$(SRCSUFF).obj:
38 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@
39
40 # -Jm: relaxed type checking only for .C files
41 .c.obj:
42 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
43
44 .rc.res:
45 *$(RC) -D__NT__ -r $(INCLUDE) $<
46