# hget http://www.sci.brooklyn.cuny.edu/~zhou/bprolog/bp40_unix.tar.gz > bprolog.tgz
# tar xzf bprlog.tgz
# cp mkfile Bprolog/Emulator/
# cd Bprolog/Emulator
# mk
</$objtype/mkfile
BIN=$home/bin/$objtype/
TARG=bprolog
OFILES=\
# Plc.$O\
arith.$O\
array.$O\
assert.$O\
builtins.$O\
clause.$O\
clpfd.$O\
clpfd_libs.$O\
cpreds.$O\
delay.$O\
dis.$O\
domain.$O\
file.$O\
float.$O\
getline.$O\
global.$O\
init.$O\
init_sym.$O\
inst_inf.$O\
kapi.$O\
loader.$O\
main.$O\
mic.$O\
numbervars.$O\
stable.$O\
table.$O\
toam.$O\
toamprofile.$O\
token.$O\
unify.$O\
univ.$O
HFILES=\
basic.h\
basicd.h\
bprolog_plc_Plc.h\
cpreds.h\
dynamic.h\
event.h\
frame.h\
getline.h\
inst.h\
kapi.h\
macro.h\
state.h\
term.h\
toam.h\
</sys/src/cmd/mkone
CC=pcc -c
CFLAGS=-B -Dunix -DNULL=0 -DPOSIX -D_POSIX_SOURCE -D_BSD_EXTENSION
|