</$objtype/mkfile
HCFILES=\
Append.hc\
Break.hc\
Concat.hc\
Cons.hc\
DPackedString.hc\
Drop.hc\
DropWhile.hc\
Eq_PackedString.hc\
Filter.hc\
Foldl.hc\
Foldr.hc\
Head.hc\
Index.hc\
Length.hc\
Lines.hc\
Map.hc\
Nil.hc\
Null.hc\
Ord_PackedString.hc\
PackString.hc\
PackedString.hc\
Read_PackedString.hc\
Reverse.hc\
Show_PackedString.hc\
Span.hc\
SplitAt.hc\
Substr.hc\
Tail.hc\
Take.hc\
TakeWhile.hc\
Unlines.hc\
UnpackPS.hc\
Unwords.hc\
Words.hc\
all:V:
for(i in $HCFILES)@{
##echo $i
hcp $i $i.c
$CC $CFLAGS $i.c
rm $i.c
}
clean:V:
rm *.$O
CC=pcc
CFLAGS=-DPlan9 -D_BSD_EXTENSION -DLOW_BYTE_FIRST \
-I../../runtime/Kernel -c
|