</$objtype/mkfile
CFILE=\
Kernel/main.c\
Kernel/mutlib.c\
Kernel/mutator.c\
DIR=\
Builtin\
Integer\
Mk\
Kernel\
all:V: main.o
for(i in $DIR)@{
echo $i
cd $i
mk
}
main.o:
for(i in $CFILE)@{
echo $i
$CC $CFLAGS $i
}
clean:V:
rm Runtime.a
rm *.$O
for(i in $DIR)@{
echo $i
cd $i
mk clean
}
CC=pcc
CFLAGS=-D_BSD_EXTENSION -D_POSIX_SOURCE\
-DPlan9 -DLOW_BYTE_FIRST -I./Kernel \
-I./Integer -I../Mk -I../../include\
-DDEBUG -c
|