mirror of
https://github.com/unknownworlds/NS.git
synced 2024-12-02 17:21:56 +00:00
227 lines
5.7 KiB
Makefile
227 lines
5.7 KiB
Makefile
|
# Microsoft Developer Studio Generated NMAKE File, Format Version 4.10
|
||
|
# ** DO NOT EDIT **
|
||
|
|
||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||
|
|
||
|
|
||
|
!IF "$(OS)" == "Windows_NT"
|
||
|
NULL=
|
||
|
!ELSE
|
||
|
NULL=nul
|
||
|
!ENDIF
|
||
|
################################################################################
|
||
|
# Begin Project
|
||
|
RSC=rc.exe
|
||
|
CPP=cl.exe
|
||
|
LINK32=link.exe
|
||
|
F90=fl32.exe
|
||
|
|
||
|
OUTDIR=.
|
||
|
INTDIR=.
|
||
|
|
||
|
# set this directories
|
||
|
STL_PATH=..\..
|
||
|
|
||
|
|
||
|
Dep_stl = stl_test.obj accum1.obj accum2.obj \
|
||
|
adjdiff0.obj adjdiff1.obj adjdiff2.obj \
|
||
|
adjfind0.obj adjfind1.obj adjfind2.obj \
|
||
|
advance.obj \
|
||
|
alg1.obj alg2.obj alg3.obj alg4.obj alg5.obj \
|
||
|
bcompos1.obj bcompos2.obj \
|
||
|
bind1st1.obj bind1st2.obj \
|
||
|
bind2nd1.obj bind2nd2.obj \
|
||
|
binsert1.obj binsert2.obj \
|
||
|
binsrch1.obj binsrch2.obj \
|
||
|
bnegate1.obj bnegate2.obj bvec1.obj \
|
||
|
copy1.obj copy2.obj copy3.obj copy4.obj \
|
||
|
copyb.obj copyb0.obj \
|
||
|
count0.obj count1.obj \
|
||
|
countif1.obj \
|
||
|
deque1.obj \
|
||
|
divides.obj \
|
||
|
eqlrnge0.obj eqlrnge1.obj eqlrnge2.obj \
|
||
|
equal0.obj equal1.obj equal2.obj \
|
||
|
equalto.obj \
|
||
|
fill1.obj filln1.obj \
|
||
|
find0.obj find1.obj \
|
||
|
findif0.obj findif1.obj \
|
||
|
finsert1.obj finsert2.obj \
|
||
|
foreach0.obj foreach1.obj \
|
||
|
func1.obj func2.obj func3.obj \
|
||
|
gener1.obj gener2.obj \
|
||
|
genern1.obj genern2.obj \
|
||
|
greateq.obj greater.obj \
|
||
|
incl0.obj incl1.obj incl2.obj \
|
||
|
inplmrg1.obj inplmrg2.obj \
|
||
|
inrprod0.obj inrprod1.obj inrprod2.obj \
|
||
|
insert1.obj insert2.obj \
|
||
|
iota1.obj \
|
||
|
istmit1.obj \
|
||
|
iter1.obj iter2.obj iter3.obj iter4.obj \
|
||
|
iterswp0.obj iterswp1.obj \
|
||
|
less.obj \
|
||
|
lesseq.obj \
|
||
|
lexcmp1.obj lexcmp2.obj \
|
||
|
list1.obj list2.obj list3.obj list4.obj \
|
||
|
logicand.obj logicnot.obj \
|
||
|
logicor.obj \
|
||
|
lwrbnd1.obj lwrbnd2.obj \
|
||
|
map1.obj \
|
||
|
max1.obj max2.obj \
|
||
|
maxelem1.obj maxelem2.obj \
|
||
|
memfunptr.obj \
|
||
|
merge0.obj merge1.obj merge2.obj \
|
||
|
min1.obj min2.obj \
|
||
|
minelem1.obj minelem2.obj \
|
||
|
minus.obj \
|
||
|
mismtch0.obj mismtch1.obj mismtch2.obj \
|
||
|
mkheap0.obj mkheap1.obj \
|
||
|
mmap1.obj mmap2.obj \
|
||
|
modulus.obj \
|
||
|
mset1.obj mset3.obj mset4.obj mset5.obj \
|
||
|
negate.obj nequal.obj \
|
||
|
nextprm0.obj nextprm1.obj nextprm2.obj \
|
||
|
nthelem0.obj nthelem1.obj nthelem2.obj \
|
||
|
ostmit.obj \
|
||
|
pair0.obj pair1.obj pair2.obj \
|
||
|
parsrt0.obj parsrt1.obj parsrt2.obj \
|
||
|
parsrtc0.obj parsrtc1.obj parsrtc2.obj \
|
||
|
partsrt0.obj \
|
||
|
partsum0.obj partsum1.obj partsum2.obj \
|
||
|
pheap1.obj pheap2.obj \
|
||
|
plus.obj \
|
||
|
pqueue1.obj \
|
||
|
prevprm0.obj prevprm1.obj prevprm2.obj \
|
||
|
ptition0.obj ptition1.obj \
|
||
|
ptrbinf1.obj ptrbinf2.obj \
|
||
|
ptrunf1.obj ptrunf2.obj \
|
||
|
queue1.obj \
|
||
|
rawiter.obj \
|
||
|
remcopy1.obj \
|
||
|
remcpif1.obj \
|
||
|
remif1.obj \
|
||
|
remove1.obj \
|
||
|
repcpif1.obj \
|
||
|
replace0.obj replace1.obj replcpy1.obj replif1.obj \
|
||
|
revbit1.obj revbit2.obj \
|
||
|
revcopy1.obj reverse1.obj reviter1.obj reviter2.obj \
|
||
|
rndshuf0.obj rndshuf1.obj rndshuf2.obj \
|
||
|
rotate0.obj rotate1.obj rotcopy0.obj rotcopy1.obj \
|
||
|
search0.obj search1.obj search2.obj \
|
||
|
set1.obj set2.obj \
|
||
|
setdiff0.obj setdiff1.obj setdiff2.obj \
|
||
|
setintr0.obj setintr1.obj setintr2.obj \
|
||
|
setsymd0.obj setsymd1.obj setsymd2.obj \
|
||
|
setunon0.obj setunon1.obj setunon2.obj \
|
||
|
sort1.obj sort2.obj \
|
||
|
stack1.obj stack2.obj \
|
||
|
stblptn0.obj stblptn1.obj \
|
||
|
stblsrt1.obj stblsrt2.obj \
|
||
|
swap1.obj \
|
||
|
swprnge1.obj \
|
||
|
times.obj \
|
||
|
trnsfrm1.obj trnsfrm2.obj \
|
||
|
ucompos1.obj ucompos2.obj \
|
||
|
unegate1.obj unegate2.obj \
|
||
|
uniqcpy1.obj uniqcpy2.obj \
|
||
|
unique1.obj unique2.obj \
|
||
|
uprbnd1.obj uprbnd2.obj \
|
||
|
vec1.obj vec2.obj vec3.obj vec4.obj vec5.obj vec6.obj vec7.obj vec8.obj \
|
||
|
hmap1.obj hmmap1.obj hset2.obj hmset1.obj slist1.obj string1.obj bitset1.obj
|
||
|
|
||
|
CPP_PRJ_LINK = /link /incremental:no /LIBPATH:$(STL_PATH)\lib
|
||
|
|
||
|
CPP_PRJ_CMN = /nologo /W3 /GR /GX /DWIN32 /D_WINDOWS /D_CONSOLE /I$(STL_PATH)\stlport /I.
|
||
|
|
||
|
# # CPP_PROJ=/nologo /W3 /MDd /GX /Zd /D "WIN32" /D "_CONSOLE" $(STL_INCL) /I$(VC_INCL) /I.
|
||
|
|
||
|
#
|
||
|
#LIBTYPE = STATIC
|
||
|
LIBTYPE = DYNAMIC
|
||
|
#
|
||
|
#DEBUG = STL
|
||
|
#DEBUG = ON
|
||
|
DEBUG =
|
||
|
#
|
||
|
IOS = SGI
|
||
|
#IOS = NOSGI
|
||
|
#IOS = NONE
|
||
|
|
||
|
!IF "$(IOS)" == "NOSGI"
|
||
|
CPP_PRJ_IOS = /D_STLP_NO_OWN_IOSTREAMS
|
||
|
!ELSEIF "$(IOS)" == "NONE"
|
||
|
CPP_PRJ_IOS = /D_STLP_NO_IOSTREAM
|
||
|
!ELSE
|
||
|
CPP_PRJ_IOS =
|
||
|
!ENDIF
|
||
|
|
||
|
#MT/MD etc should be LAST in CPP_PRJ_LIBTYP string!!!
|
||
|
#Library selection should be BEFORE debug processing!!!
|
||
|
!IF "$(LIBTYPE)" == "STATIC"
|
||
|
CPP_PRJ_LIBTYP = /D_STLP_USE_STATIC_LIB /MT
|
||
|
!ELSE
|
||
|
CPP_PRJ_LIBTYP = /D_STLP_USE_DYNAMIC_LIB /MD
|
||
|
!ENDIF
|
||
|
|
||
|
!IF "$(DEBUG)" == ""
|
||
|
CPP_PRJ_DBG = /DNDEBUG /O2
|
||
|
!ELSE
|
||
|
CPP_PRJ_LIBTYP = $(CPP_PRJ_LIBTYP)d
|
||
|
CPP_PRJ_DBG = /D_DEBUG /Od
|
||
|
!IF "$(DEBUG)" == "STL"
|
||
|
CPP_PRJ_DBG = $(CPP_PRJ_DBG) /D_STLP_DEBUG
|
||
|
!ENDIF
|
||
|
CPP_PRJ_CMN = $(CPP_PRJ_CMN) /Zi
|
||
|
!ENDIF
|
||
|
|
||
|
# # Use this flags to test non-SGI iostreams
|
||
|
# CPP_PROJ=/nologo /W3 /MD /GX /Zd /Zi /D "WIN32" /D "_CONSOLE" $(STL_INCL) /I$(VC_INCL) /I. /D_STLP_NO_NEW_IOSTREAMS
|
||
|
# CPP_PROJ=/nologo /W3 /MD /GX /Zd /Zi /D "WIN32" /D "_CONSOLE" $(STL_INCL) /I$(VC_INCL) /I.
|
||
|
# # linker finds proper STLport lib automatically, only path to the
|
||
|
# # library is needed
|
||
|
# CPP_LIBS = /link /libpath:"..\..\lib"
|
||
|
|
||
|
CPP_PROJ = $(CPP_PRJ_CMN) $(CPP_PRJ_IOS) $(CPP_PRJ_LIBTYP) $(CPP_PRJ_DBG)
|
||
|
|
||
|
check: stl_test.out
|
||
|
|
||
|
stl_test.out : $(Dep_stl)
|
||
|
# $(CPP) $(CPP_PROJ) $(Dep_stl) $(CPP_LIBS)
|
||
|
# stl_test < stdin
|
||
|
$(CPP) $(CPP_PROJ) $(Dep_stl) $(CPP_PRJ_LINK)
|
||
|
stl_test > stl_test.out < stdin
|
||
|
echo done
|
||
|
|
||
|
clean :
|
||
|
-@erase "$(INTDIR)\*.obj"
|
||
|
-@erase "$(OUTDIR)\*.exe"
|
||
|
-@erase "$(OUTDIR)\*.obj"
|
||
|
-@erase "$(OUTDIR)\*.ilk"
|
||
|
-@erase "$(OUTDIR)\*.pdb"
|
||
|
|
||
|
|
||
|
.exe.out:
|
||
|
$< > $@
|
||
|
|
||
|
.cpp.exe:
|
||
|
$(CPP) $(CPP_PROJ) -DMAIN $< $(CPP_PRJ_LINK)
|
||
|
|
||
|
.c.obj:
|
||
|
$(CPP) $(CPP_PROJ) /c $<
|
||
|
|
||
|
.cpp.obj:
|
||
|
$(CPP) $(CPP_PROJ) /c $<
|
||
|
|
||
|
.cxx.obj:
|
||
|
$(CPP) $(CPP_PROJ) /c $<
|
||
|
|
||
|
.c.sbr:
|
||
|
$(CPP) $(CPP_PROJ) $<
|
||
|
|
||
|
.cpp.E:
|
||
|
$(CPP) $(CPP_PROJ) -E $< >$*.E
|
||
|
|
||
|
.cpp.sbr:
|
||
|
$(CPP) $(CPP_PROJ) $<
|