3d05544e4e
with VC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
42 lines
1.0 KiB
Bash
42 lines
1.0 KiB
Bash
# Common settings for Symantec
|
|
|
|
WXDIR = $(WXWIN)
|
|
INCDIR = $(WXDIR)\include
|
|
LIBDIR = $(WXDIR)\lib
|
|
WXLIB = $(LIBDIR)\wx.lib
|
|
|
|
SRCSUFF = cpp
|
|
OBJSUFF = obj
|
|
|
|
INCLUDE=$(INCDIR)
|
|
|
|
# default values
|
|
|
|
CC=sc
|
|
RC=rc
|
|
|
|
# WIN16 settings
|
|
#CFLAGS = -Jm -ml -W -D__WXMSW__ -D__SC__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS)
|
|
#LINKER = link
|
|
#LDFLAGS = -ml -W -L$(LINKER).exe $(EXTRALDFLAGS)
|
|
#LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib # $(LIB)\ctl3dv2.lib
|
|
#DEFFILE=sc16.def
|
|
|
|
# WIN32 settings
|
|
CFLAGS = -o -mn -W -D__NT__ -DWIN32 -D__WIN32__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
|
|
LINKER = link386
|
|
LDFLAGS = -L$(LINKER).exe $(EXTRALDFLAGS)
|
|
LIBS=$(WXLIB) $(EXTRALIBS) ctl3d32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib kernel32.lib winmm.lib
|
|
DEFFILE=sc32.def
|
|
|
|
.$(SRCSUFF).obj:
|
|
*$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $< -o$@
|
|
|
|
# -Jm: relaxed type checking
|
|
.c.obj:
|
|
*$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
|
|
|
|
.rc.res:
|
|
*$(RC) -r -I$(INCLUDE) $<
|
|
|