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