</$objtype/mkfile
HCFILES=\
All.hc\
And.hc\
Any.hc\
Append.hc\
Break.hc\
Concat.hc\
ConcatMap.hc\
Cycle.hc\
Drop.hc\
DropWhile.hc\
Elem.hc\
Filter.hc\
Foldl.hc\
Foldl1.hc\
Foldr.hc\
Foldr1.hc\
Head.hc\
Index.hc\
Init.hc\
Iterate.hc\
Last.hc\
Length.hc\
Lines.hc\
Lookup.hc\
Map.hc\
Maximum.hc\
Minimum.hc\
NotElem.hc\
Null.hc\
Or.hc\
PreludeList.hc\
Product.hc\
Repeat.hc\
Replicate.hc\
Reverse.hc\
Scanl.hc\
Scanl1.hc\
Scanr.hc\
Scanr1.hc\
Span.hc\
SplitAt.hc\
Sum.hc\
Tail.hc\
Take.hc\
TakeWhile.hc\
Unlines.hc\
Unwords.hc\
Unzip.hc\
Unzip3.hc\
Words.hc\
Zip.hc\
Zip3.hc\
ZipWith.hc\
ZipWith3.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
|