]> git.saurik.com Git - wxWidgets.git/blame - src/makesc.env
update to docs now minimal sample compiles
[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
2bda0e17
KB
11
12SRCSUFF = cpp
13OBJSUFF = obj
14
059b6462
CE
15INCLUDE=-I$(INCDIR) -I$(ARCHINCDIR) -I$(WXDIR)/src/regex;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
16
17
2432b92d 18
2bda0e17
KB
19# default values
20
059b6462
CE
21CC=dmc
22RC=rcc
2432b92d 23
3f1af920 24# WIN16 settings
3d05544e 25#CFLAGS = -Jm -ml -W -D__WXMSW__ -D__SC__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS)
3f1af920 26#LINKER = link
3d05544e
JS
27#LDFLAGS = -ml -W -L$(LINKER).exe $(EXTRALDFLAGS)
28#LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib # $(LIB)\ctl3dv2.lib
3f1af920
JS
29#DEFFILE=sc16.def
30
31# WIN32 settings
059b6462
CE
32# -H ... fix to use directory
33CFLAGS = -o -mn -W -H -D__NT__ -DWIN32 -D__WIN32__ -D__WIN95__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
34LINKER = link
35LDFLAGS = /DELEXECUTABLE /RC $(EXTRALDFLAGS)
36LIBS=$(WXLIB) $(EXTRALIBS) advapi32 comctl32 comdlg32 ctl3d32 gc gdi32 kernel32 ole32 oleaut32 snn user32 uuid
3d05544e 37DEFFILE=sc32.def
2bda0e17
KB
38
39.$(SRCSUFF).obj:
059b6462 40 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@
2432b92d
JS
41
42# -Jm: relaxed type checking
43.c.obj:
059b6462 44 *$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
2bda0e17 45
3f1af920 46.rc.res:
059b6462 47 *$(RC) -D__NT__ -r $(INCLUDE) $<
3f1af920 48