]> git.saurik.com Git - wxWidgets.git/blame - src/makesc.env
wxOS2 warning fixes after daily build log.
[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)
7d584866 6WXOUTDIR=$(WXDIR)\d_mars
2bda0e17 7INCDIR = $(WXDIR)\include
f4bf6763 8CONTRIBINCDIR = $(WXDIR)\contrib\include
059b6462
CE
9MSWINCDIR = $(WXDIR)\include\wx\msw
10ARCHINCDIR = $(WXDIR)\lib\$(SC_SUFFIX)
2432b92d 11LIBDIR = $(WXDIR)\lib
ee252037 12WXLIB = wx$(SC_SUFFIX).lib
05d3cd45
CE
13WINSOCKLIB = wsock32$(SC_SUFFIX)
14SHELLLIB = shell32$(SC_SUFFIX)
640f7e66
CE
15WINMMLIB =winmm32$(SC_SUFFIX)
16SUPPORTLIBS = png$(SC_SUFFIX) tiff$(SC_SUFFIX) jpeg$(SC_SUFFIX) zlib$(SC_SUFFIX) $(SHELLLIB) $(WINSOCKLIB) $(WINMMLIB)
2bda0e17
KB
17
18SRCSUFF = cpp
19OBJSUFF = obj
20
f4bf6763 21INCLUDE=-I$(INCDIR) -I$(ARCHINCDIR) -I$(CONTRIBINCDIR) -I$(WXDIR)/src/regex;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
059b6462
CE
22
23
2432b92d 24
2bda0e17
KB
25# default values
26
059b6462
CE
27CC=dmc
28RC=rcc
2432b92d 29
3f1af920 30# WIN32 settings
059b6462 31# -H ... fix to use directory
7d584866
CE
32##CFLAGS = -o -mn -W -H -D__NT__ -DWIN32 -D__WIN32__ -D__WIN95__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
33CFLAGS = -mn -D_WINDOWS -6 -a8 -Nc -c -H -HD$(WXOUTDIR) -HO- -DWXMSW -D__WIN32__ -D__WIN95__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
34CPPFLAGS = -cpp -Ae -Ar
35
059b6462 36LINKER = link
f4bf6763 37# possible bug with putting d on any extralibs if we have debug and release versions one day
4ded51f2 38LDFLAGS = $(EXTRALDFLAGS)
05d3cd45 39LIBS=$(WXLIB) $(EXTRALIBS) $(SUPPORTLIBS) advapi32 comctl32 comdlg32 ctl3d32 gc gdi32 kernel32 ole32 oleaut32 snn user32 uuid
f4bf6763 40
2bda0e17
KB
41
42.$(SRCSUFF).obj:
7d584866 43 *$(CC) -c $(CPPFLAGS) $(CFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@
2432b92d 44
b911bc32 45# -Jm: relaxed type checking only for .C files
2432b92d 46.c.obj:
059b6462 47 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
2bda0e17 48
3f1af920 49.rc.res:
059b6462 50 *$(RC) -D__NT__ -r $(INCLUDE) $<
3f1af920 51