mirror of
https://github.com/ENSL/NS.git
synced 2024-11-28 07:12:15 +00:00
2f9f0c732e
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@277 67975925-1194-0748-b3d5-c16f83f1a3a1
284 lines
5.3 KiB
Makefile
284 lines
5.3 KiB
Makefile
# ---------------------------------------------------------------------------
|
|
!if !$d(BCB)
|
|
BCB = $(MAKEDIR)\..
|
|
!endif
|
|
|
|
BCC32=bcc32
|
|
CPP32=cpp32
|
|
|
|
# ---------------------------------------------------------------------------
|
|
PROJECT = stl_test.exe
|
|
|
|
OBJFILES = \
|
|
vec2.obj\
|
|
vec7.obj\
|
|
vec6.obj\
|
|
vec5.obj\
|
|
vec4.obj\
|
|
vec3.obj\
|
|
vec8.obj\
|
|
stat.obj\
|
|
uprbnd2.obj\
|
|
uprbnd1.obj\
|
|
unique2.obj\
|
|
unique1.obj\
|
|
uniqcpy2.obj\
|
|
uniqcpy1.obj\
|
|
unegate2.obj\
|
|
unegate1.obj\
|
|
ucompos2.obj\
|
|
ucompos1.obj\
|
|
trnsfrm2.obj\
|
|
trnsfrm1.obj\
|
|
times.obj\
|
|
swprnge1.obj\
|
|
swap1.obj\
|
|
stl_test.obj\
|
|
stblsrt2.obj\
|
|
stblsrt1.obj\
|
|
stblptn1.obj\
|
|
stblptn0.obj\
|
|
vec1.obj\
|
|
rotcopy0.obj\
|
|
stack1.obj\
|
|
sort2.obj\
|
|
sort1.obj\
|
|
setunon2.obj\
|
|
setunon1.obj\
|
|
setunon0.obj\
|
|
setsymd2.obj\
|
|
setsymd1.obj\
|
|
setsymd0.obj\
|
|
setintr2.obj\
|
|
setintr1.obj\
|
|
setintr0.obj\
|
|
setdiff2.obj\
|
|
setdiff1.obj\
|
|
setdiff0.obj\
|
|
set2.obj\
|
|
set1.obj\
|
|
search2.obj\
|
|
search1.obj\
|
|
search0.obj\
|
|
rotcopy1.obj\
|
|
stack2.obj\
|
|
ptrunf1.obj\
|
|
rotate0.obj\
|
|
rndshuf2.obj\
|
|
rndshuf1.obj\
|
|
rndshuf0.obj\
|
|
reviter2.obj\
|
|
reviter1.obj\
|
|
reverse1.obj\
|
|
revcopy1.obj\
|
|
revbit2.obj\
|
|
revbit1.obj\
|
|
replif1.obj\
|
|
replcpy1.obj\
|
|
replace1.obj\
|
|
replace0.obj\
|
|
repcpif1.obj\
|
|
remove1.obj\
|
|
remif1.obj\
|
|
remcpif1.obj\
|
|
remcopy1.obj\
|
|
rawiter.obj\
|
|
queue1.obj\
|
|
ptrunf2.obj\
|
|
rotate1.obj\
|
|
pair0.obj\
|
|
ptrbinf1.obj\
|
|
ptition1.obj\
|
|
ptition0.obj\
|
|
prevprm2.obj\
|
|
prevprm1.obj\
|
|
prevprm0.obj\
|
|
pqueue1.obj\
|
|
plus.obj\
|
|
pheap2.obj\
|
|
pheap1.obj\
|
|
partsum2.obj\
|
|
partsum1.obj\
|
|
partsum0.obj\
|
|
partsrt0.obj\
|
|
parsrtc2.obj\
|
|
parsrtc1.obj\
|
|
parsrtc0.obj\
|
|
parsrt2.obj\
|
|
parsrt1.obj\
|
|
parsrt0.obj\
|
|
pair2.obj\
|
|
pair1.obj\
|
|
ptrbinf2.obj\
|
|
minelem1.obj\
|
|
nthelem2.obj\
|
|
nthelem1.obj\
|
|
nthelem0.obj\
|
|
nextprm2.obj\
|
|
nextprm1.obj\
|
|
nextprm0.obj\
|
|
nequal.obj\
|
|
negate.obj\
|
|
mset5.obj\
|
|
mset4.obj\
|
|
mset3.obj\
|
|
mset1.obj\
|
|
modulus.obj\
|
|
mmap2.obj\
|
|
mmap1.obj\
|
|
mkheap1.obj\
|
|
mkheap0.obj\
|
|
mismtch2.obj\
|
|
mismtch1.obj\
|
|
mismtch0.obj\
|
|
minus.obj\
|
|
minelem2.obj\
|
|
ostmit.obj\
|
|
iterswp1.obj\
|
|
min1.obj\
|
|
memfunptr.obj \
|
|
merge2.obj\
|
|
merge1.obj\
|
|
merge0.obj\
|
|
maxelem2.obj\
|
|
maxelem1.obj\
|
|
max2.obj\
|
|
max1.obj\
|
|
map1.obj\
|
|
lwrbnd2.obj\
|
|
lwrbnd1.obj\
|
|
logicor.obj\
|
|
logicnot.obj\
|
|
logicand.obj\
|
|
list4.obj\
|
|
list3.obj\
|
|
list2.obj\
|
|
list1.obj\
|
|
lexcmp2.obj\
|
|
lexcmp1.obj\
|
|
lesseq.obj\
|
|
less.obj\
|
|
min2.obj\
|
|
greater.obj\
|
|
iter4.obj\
|
|
iter3.obj\
|
|
iter2.obj\
|
|
iter1.obj\
|
|
istmit1.obj\
|
|
iota1.obj\
|
|
insert2.obj\
|
|
insert1.obj\
|
|
inrprod2.obj\
|
|
inrprod1.obj\
|
|
inrprod0.obj\
|
|
inplmrg2.obj\
|
|
inplmrg1.obj\
|
|
incl2.obj\
|
|
incl1.obj\
|
|
incl0.obj\
|
|
iterswp0.obj\
|
|
eqlrnge2.obj\
|
|
genern2.obj\
|
|
genern1.obj\
|
|
gener2.obj\
|
|
gener1.obj\
|
|
func3.obj\
|
|
func2.obj\
|
|
func1.obj\
|
|
foreach1.obj\
|
|
foreach0.obj\
|
|
finsert2.obj\
|
|
finsert1.obj\
|
|
findif1.obj\
|
|
findif0.obj\
|
|
find1.obj\
|
|
find0.obj\
|
|
filln1.obj\
|
|
fill1.obj\
|
|
equalto.obj\
|
|
equal2.obj\
|
|
equal1.obj\
|
|
equal0.obj\
|
|
greateq.obj\
|
|
binsrch1.obj\
|
|
eqlrnge0.obj\
|
|
divides.obj\
|
|
deque1.obj\
|
|
countif1.obj\
|
|
count1.obj\
|
|
count0.obj\
|
|
copyb0.obj\
|
|
copyb.obj\
|
|
copy4.obj\
|
|
copy3.obj\
|
|
copy2.obj\
|
|
copy1.obj\
|
|
bvec1.obj\
|
|
bnegate2.obj\
|
|
bnegate1.obj\
|
|
binsrch2.obj\
|
|
eqlrnge1.obj\
|
|
accum1.obj\
|
|
binsert1.obj\
|
|
bind2nd2.obj\
|
|
bind2nd1.obj\
|
|
bind1st1.obj\
|
|
bind1st2.obj\
|
|
bcompos2.obj\
|
|
bcompos1.obj\
|
|
alg5.obj\
|
|
alg4.obj\
|
|
alg3.obj\
|
|
alg2.obj\
|
|
alg1.obj\
|
|
advance.obj\
|
|
adjfind2.obj\
|
|
adjfind1.obj\
|
|
adjfind0.obj\
|
|
adjdiff2.obj\
|
|
adjdiff1.obj\
|
|
adjdiff0.obj\
|
|
accum2.obj\
|
|
binsert2.obj\
|
|
hmap1.obj hmmap1.obj hset2.obj hmset1.obj \
|
|
slist1.cpp string1.cpp bitset1.cpp
|
|
|
|
# ---------------------------------------------------------------------------
|
|
PATHCPP = .;
|
|
PATHPAS = .;
|
|
PATHASM = .;
|
|
PATHRC = .;
|
|
|
|
USERDEFINES = _DEBUG
|
|
SYSDEFINES = NO_STRICT;USEPACKAGES
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# CFLAG1 = -w- -jb -j1 -I.;..\..\stlport;$(BCB)\include; -Od -v -N -x -xp -tWCR -D$(SYSDEFINES);$(USERDEFINES) -L..\..\lib
|
|
|
|
# CFLAG1 = -w- -jb -j1 -I.;..\..\stlport;$(BCB)\include; -tWCR -w-par -w-inl -w-stl -D$(SYSDEFINES);$(USERDEFINES)
|
|
|
|
CFLAG1 = -w- -jb -j1 -I.;..\..\stlport;$(BCB)\include; -Od -v -N -x -xp -tWC -D$(SYSDEFINES);$(USERDEFINES) -L..\..\lib
|
|
|
|
LDFLAGS = -L..\..\lib;$(BCB)\..\lib stlpst.lib
|
|
|
|
.autodepend
|
|
# ---------------------------------------------------------------------------
|
|
|
|
all : $(PROJECT)
|
|
|
|
$(PROJECT) : $(OBJFILES)
|
|
$(BCB)\BIN\$(BCC32) -e$(PROJECT) $(CFLAG1) $(LDFLAGS) $(OBJFILES)
|
|
|
|
clean:
|
|
del *.obj *.exe *.core *.tds
|
|
|
|
# ---------------------------------------------------------------------------
|
|
.cpp.obj:
|
|
$(BCC32) $(CFLAG1) -n$(@D) -c $<
|
|
|
|
.cpp.exe:
|
|
$(BCC32) $(CFLAG1) -DMAIN -n$(@D) $<
|
|
|
|
.cpp.i:
|
|
$(CPP32) $(CFLAG1) -n. -Sr -Ss -Sd {$< }
|
|
# ---------------------------------------------------------------------------
|