]> git.saurik.com Git - wxWidgets.git/blame - src/makesc.env
update to make digitalmars compile/link html sample
[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
KB
4
5WXDIR = $(WXWIN)
6INCDIR = $(WXDIR)\include
059b6462
CE
7MSWINCDIR = $(WXDIR)\include\wx\msw
8ARCHINCDIR = $(WXDIR)\lib\$(SC_SUFFIX)
2432b92d 9LIBDIR = $(WXDIR)\lib
059b6462 10WXLIB = $(LIBDIR)\wx$(SC_SUFFIX).lib
4ded51f2
CE
11WINSOCKLIB = $(LIBDIR)\winsock$(SC_SUFFIX).lib
12SUPPORTLIBS = $(LIBDIR)\png$(SC_SUFFIX).lib $(LIBDIR)\tiff$(SC_SUFFIX).lib $(LIBDIR)\jpeg$(SC_SUFFIX).lib $(LIBDIR)\zlib$(SC_SUFFIX).lib
2bda0e17
KB
13
14SRCSUFF = cpp
15OBJSUFF = obj
16
059b6462
CE
17INCLUDE=-I$(INCDIR) -I$(ARCHINCDIR) -I$(WXDIR)/src/regex;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
18
19
2432b92d 20
2bda0e17
KB
21# default values
22
059b6462
CE
23CC=dmc
24RC=rcc
2432b92d 25
3f1af920 26# WIN32 settings
059b6462
CE
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
4ded51f2
CE
30LDFLAGS = $(EXTRALDFLAGS)
31LIBS=$(WXLIB) $(EXTRALIBS) $(SUPPORTLIBS) advapi32 comctl32 comdlg32 ctl3d32 gc gdi32 kernel32 ole32 oleaut32 snn user32 uuid $(WINSOCKLIB)
3d05544e 32DEFFILE=sc32.def
2bda0e17
KB
33
34.$(SRCSUFF).obj:
059b6462 35 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@
2432b92d
JS
36
37# -Jm: relaxed type checking
38.c.obj:
059b6462 39 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
2bda0e17 40
3f1af920 41.rc.res:
059b6462 42 *$(RC) -D__NT__ -r $(INCLUDE) $<
3f1af920 43