APE=/sys/src/ape <$APE/config CFLAGS=-FVwN BIN=/$objtype/bin TARG=\ python\ OFILES=\ config.$O\ plan9.$O\ libextra.a$O\ LIB= \ /$objtype/lib/ape/libpython.a\ LIBDIRS=Modules Objects Parser Python > Extra/config config.c: Modules/config Extra/config mkconfig ./mkconfig Modules/config Extra/config >config.c clean:V: for(i in $LIBDIRS Extra)@{ cd $i mk $target } rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $OFILES rm -f Extra/config config.c nuke:V: mk clean rm -f /$objtype/lib/ape/libpython.a