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