1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#
# makefile for EuropeanOption.cpp under Borland C++
#
# $Id: makefile.mak,v 1.4 2002/01/11 16:01:27 nando Exp $
.autodepend
.silent
# Debug version
!ifdef DEBUG
_D = _d
!endif
# Directories
QL_INCLUDE_DIR = "$(QL_DIR)"
QL_LIB_DIR = "$(QL_DIR)\lib\Win32\Borland"
BCC_INCLUDE = $(MAKEDIR)\..\include
BCC_LIBS = $(MAKEDIR)\..\lib
#Warning W8026 :
#Warning W8027 :
#Warning W8012 :
#Warning W8057 : Parameter 'argc' is never used in function main(int,char * *)
# Options
CC_OPTS = -vi- -w-8026 -w-8027 -w-8012 -w-8057 \
-I$(QL_INCLUDE_DIR) \
-I$(BCC_INCLUDE)
!ifdef DEBUG
CC_OPTS = $(CC_OPTS) -v -DQL_DEBUG
!endif
# Primary target:
EuropeanOption$(_D).exe: EuropeanOption.cpp
bcc32 $(CC_OPTS) -L$(QL_LIB_DIR) -L$(BCC_LIBS) -oEuropeanOption$(_D).obj -eEuropeanOption$(_D).exe EuropeanOption.cpp QuantLib$(_D).lib
# Check
check:: EuropeanOption$(_D).exe
EuropeanOption$(_D).exe
# Clean up
clean::
if exist *.obj del /q *.obj
if exist *.tds del /q *.tds
if exist *.exe del /q *.exe
|