# This file makes TANGLE and WEAVE from their WEB sources. # APE=/sys/src/ape < $APE/config SITEDIR=.. OPT=-B SHELL=/bin/rc TARG=tangle\ weave\ OFILES= HFILES=web.h\ $SITEDIR/site.h\ /dev/null # Weave: # $O.weave: weavext.$O weave.c: weave.p web.defines $SHELL ./convert weave.p weave.c weave.p: weave.web weave.ch $cpuobjtype.tangleboot # redirected to stop chatter - remove redirection for debugging $cpuobjtype.tangleboot weave.web weave.ch > /dev/null # Tangleboot # $cpuobjtype.tangleboot: tangleboot.c tanglext.c objtype=$cputype $CC $CFLAGS $prereq $LD $LDFLAGS -o $target tangleboot.$cpuobjtype tanglext.$cpuobjtype install:VQ: echo -n # no-op installall:VQ: echo -n # no-op clean:V: rm -f *.[$OS] [$OS].tangleboot *.pool coerce.h [$OS].$TARG $TARG nuke:V: rm -f *.[$OS] [$OS].tangleboot *.pool coerce.h [$OS].$TARG $TARG rm -f weave.c tangle.c weave.h tangle.p weave.p rm -f '#'*'#' *~ *.bak