</$objtype/mkfile
DIR=\
Language/Preprocessor\
Language/Preprocessor/Cpphs\
Text/ParserCombinators\
HCFILES=\
cpphs.hc\
Language/Preprocessor/Cpphs.hc\
Language/Preprocessor/Unlit.hc\
Language/Preprocessor/Cpphs/CppIfdef.hc\
Language/Preprocessor/Cpphs/HashDefine.hc\
Language/Preprocessor/Cpphs/MacroPass.hc\
Language/Preprocessor/Cpphs/Options.hc\
Language/Preprocessor/Cpphs/Position.hc\
Language/Preprocessor/Cpphs/ReadFirst.hc\
Language/Preprocessor/Cpphs/RunCpphs.hc\
Language/Preprocessor/Cpphs/SymTab.hc\
Language/Preprocessor/Cpphs/Tokenise.hc\
Text/ParserCombinators/HuttonMeijer.hc\
%.$O:
for(i in $HCFILES)@{
##echo $i
hcp $i $i.c
$CC $CFLAGS $i.c
rm $i.c
}
cpphs: %.$O
8l -o cpphs *.$O ../runtime/main.$O\
../runtime/mutator.$O\
../runtime/mutlib.$O\
../prelude/Prelude.a ../runtime/Runtime.a
clean:V:
rm *.hc.$O
rm cpphs
CC=pcc
CFLAGS=-DPlan9 -D_BSD_EXTENSION -DLOW_BYTE_FIRST \
-I../runtime/Kernel -c
|