</$objtype/mkfile
HCFILES=\
AppendFile.hc\
Catch.hc\
DIOError.hc\
Eq_IOError.hc\
Functor_IO.hc\
GetChar.hc\
GetContents.hc\
GetLine.hc\
Interact.hc\
IoError.hc\
Monad_IO.hc\
PreludeIO.hc\
Print.hc\
PutChar.hc\
PutStr.hc\
PutStrLn.hc\
ReadFile.hc\
ReadIO.hc\
ReadLn.hc\
Show_IOError.hc\
StrError.hc\
TFilePath.hc\
UserError.hc\
WriteFile.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/Builtin -I../../runtime/Kernel\
-I../../runtime/Mk -I../../runtime/Integer -c
|