home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
drdobbs
/
1991
/
10
/
string
/
makefile
next >
Wrap
Makefile
|
1991-07-30
|
1KB
|
48 lines
## Makefile for prototype String library, suitable for Turbo C++
## or Zortech C++
##
## Copyright Steve Teale 1991
MODEL = s
INCLUDE = -I.
#### Zortech
LB = zorlib
CPPC = ztc
CM =
DELIM =
#### Borland
#LB = tlib
#CPPC = tcc
#CM = &
#DELIM = ,
S1 = strisrep.obj strictor.obj stridtor.obj striass.obj striio.obj
S2 = stristat.obj stripl.obj stripleq.obj striins1.obj striins2.obj
S3 = striins3.obj strirem.obj stritrun.obj strieq.obj strine.obj
S4 = strigt.obj strilt.obj strige.obj strile.obj striarr.obj
S5 = strifunc.obj stricase.obj strisrch.obj striindx.obj
.cpp.obj :
$(CPPC) -c -m$(MODEL) $(INCLUDE) $*.cpp
lib : $(S1) $(S2) $(S3) $(S4) $(S5) string$(MODEL).lcf
del string$(MODEL).lib
$(LB) @string$(MODEL).lcf
$(S1) : string.hpp
$(S2) : string.hpp
$(S3) : string.hpp
$(S4) : string.hpp
$(S5) : string.hpp
string$(MODEL).lcf : makefile
echo string$(MODEL) /C $(CM)>string$(MODEL).lcf
echo +strisrep+strictor+stridtor+striass+striio &>>string$(MODEL).lcf
echo +stristat+stripl+stripleq+striins1+striins2 &>>string$(MODEL).lcf
echo +striins3+strirem+stritrun+strieq+strine &>>string$(MODEL).lcf
echo +strigt+strilt+strige+strile+striarr &>>string$(MODEL).lcf
echo +strifunc+stricase+strisrch+striindx$(DELIM) $(CM)>>string$(MODEL).lcf
echo string$(MODEL)>>string$(MODEL).lcf