
#-----------------------------------------------------------------------------#
#                                                                             #
#           WEDL(tm) - Windows Enhanced Dialog Library                        #
#           Copyright (c) 1991-1992, Nemisoft, Inc.                           #
#           All Rights Reserved                                               #
#           Module:  DEMOBWCE.MAK                                             #
#                                                                             #
#-----------------------------------------------------------------------------#

# Define only one of these constants to 1

MSC7 = 0
MSC6 = 0
BCC3 = 1
BCC2 = 0

#-----------------------------------------------------------------------------#

# Microsoft C/C++ 7.0

!if $(MSC7) == 1
COMP = cl -c -AS -Gsw -Ox -Zpe -W3 -Fodemobwcc.obj
LINK = link /NOD
LIBS = libw bwcc slibcew
RC1  = rc -r
RC2  = rc -30
!endif

#-----------------------------------------------------------------------------#

# Microsoft C 6.0

!if $(MSC6) == 1
COMP = cl -c -AS -Gsw -Ox -Zpe -W3 -Fodemobwcc.obj
LINK = link /NOD
LIBS = libw bwcc slibcew
RC1  = rc -r
RC2  = rc
!endif

#-----------------------------------------------------------------------------#

# Borland C++ 3.x

!if $(BCC3) == 1
COMP = bcc -c -ms -w -w-par -WS -O2 -Z -Ic:\borlandc\include -odemobwcc.obj
LINK = tlink /Twe /v /n /c /Lc:\borlandc\lib c0ws
LIBS = cws cs bwcc import mathws
RC1  = c:\borlandc\bin\rc -r -ic:\borlandc\include
RC2  = c:\borlandc\bin\rc
!endif

#-----------------------------------------------------------------------------#

# Borland C++ 2.0

!if $(BCC2) == 1
COMP = bcc -c -ms -w -w-par -WS -O -Z -Ic:\borlandc\include -odemobwcc.obj
LINK = tlink /Twe /v /n /c /Lc:\borlandc\lib c0ws
LIBS = cwins cs bwcc import maths
RC1  = c:\borlandc\bin\rc -r -ic:\borlandc\include
RC2  = c:\borlandc\bin\rc
!endif

#-----------------------------------------------------------------------------#

demobwcc.exe:   demobwcc.obj demo.def demobwcc.res demo.h demohelp.hlp
    $(LINK) demobwcc,demobwcc,NUL,$(LIBS) wedl2e,demo
    $(RC2) demobwcc.res

demobwcc.obj:   demo.c demo.h demohelp.h
    $(COMP) demo.c

demobwcc.res:   demobwcc.rc demo.h demo.ico demo.bmp
    $(RC1) demobwcc.rc

demohelp.hlp:   demohelp.hpj demohelp.rtf demohelp.h
    hc demohelp.hpj

