1998-05-20 14:12:05 +00:00
|
|
|
# Common settings for Symantec
|
|
|
|
|
|
|
|
WXDIR = $(WXWIN)
|
|
|
|
INCDIR = $(WXDIR)\include
|
1999-01-07 08:43:47 +00:00
|
|
|
LIBDIR = $(WXDIR)\lib
|
1999-01-08 14:30:22 +00:00
|
|
|
WXLIB = $(LIBDIR)\wx.lib
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
SRCSUFF = cpp
|
|
|
|
OBJSUFF = obj
|
|
|
|
|
1999-01-07 08:43:47 +00:00
|
|
|
INCLUDE=$(INCDIR)
|
|
|
|
|
1998-05-20 14:12:05 +00:00
|
|
|
# default values
|
|
|
|
|
|
|
|
CC=sc
|
|
|
|
RC=rc
|
1999-01-07 08:43:47 +00:00
|
|
|
|
1999-01-08 14:30:22 +00:00
|
|
|
# WIN16 settings
|
1999-01-09 20:18:06 +00:00
|
|
|
#CFLAGS = -Jm -ml -W -D__WXMSW__ -D__SC__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS)
|
1999-01-08 14:30:22 +00:00
|
|
|
#LINKER = link
|
1999-01-09 20:18:06 +00:00
|
|
|
#LDFLAGS = -ml -W -L$(LINKER).exe $(EXTRALDFLAGS)
|
|
|
|
#LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib # $(LIB)\ctl3dv2.lib
|
1999-01-08 14:30:22 +00:00
|
|
|
#DEFFILE=sc16.def
|
|
|
|
|
|
|
|
# WIN32 settings
|
1999-01-07 08:43:47 +00:00
|
|
|
CFLAGS = -o -mn -W -D__NT__ -DWIN32 -D__WIN32__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
|
1999-01-08 14:30:22 +00:00
|
|
|
LINKER = link386
|
1999-01-09 20:18:06 +00:00
|
|
|
LDFLAGS = -L$(LINKER).exe $(EXTRALDFLAGS)
|
1999-01-08 14:30:22 +00:00
|
|
|
LIBS=$(WXLIB) $(EXTRALIBS) ctl3d32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib kernel32.lib winmm.lib
|
1999-01-09 20:18:06 +00:00
|
|
|
DEFFILE=sc32.def
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
.$(SRCSUFF).obj:
|
1999-01-07 08:43:47 +00:00
|
|
|
*$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $< -o$@
|
|
|
|
|
|
|
|
# -Jm: relaxed type checking
|
|
|
|
.c.obj:
|
|
|
|
*$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
|
1998-05-20 14:12:05 +00:00
|
|
|
|
1999-01-08 14:30:22 +00:00
|
|
|
.rc.res:
|
|
|
|
*$(RC) -r -I$(INCLUDE) $<
|
|
|
|
|