1</$objtype/mkfile 2 3BIN=/$objtype/bin 4TARG=cwfs$FS 5OFILES=\ 6 9p1.$O\ 7 9p1lib.$O\ 8 9p2.$O\ 9 auth.$O\ 10 chk.$O\ 11 con.$O\ 12 config.$O\ 13 console.$O\ 14 cw.$O\ 15 data.$O\ 16 dentry.$O\ 17 fworm.$O\ 18 iobuf.$O\ 19 juke.$O\ 20 main.$O\ 21 malloc.$O\ 22 mworm.$O\ 23 net.$O\ 24 pc.$O\ 25 scsi.$O\ 26 sub.$O\ 27 time.$O\ 28 uidgid.$O\ 29 wren.$O\ 30 31HFILES=\ 32 ../32bit.h\ 33 ../64bit.h\ 34 ../9p1.h\ 35 ../all.h\ 36 dat.h\ 37 ../io.h\ 38 ../portdat.h\ 39 ../portfns.h\ 40 41# SRC=${OBJ:%.$O=../%.c} 42CFLAGS=$CFLAGS -I.. 43 44default:V: $O.cwfs$FS 45 46</sys/src/cmd/mkmany 47 48%.$O: ../%.c 49 $CC $CFLAGS ../$stem.c 50%.$O: ../%.s 51 $AS $AFLAGS ../$stem.s 52 53acid: ${OFILES:%.acid=../%.c} 54 55$O.cwfs$FS: conf.c $OFILES 56 $CC $CFLAGS -DDATE'='`{date -n} conf.c 57 $LD -o $target $OFILES conf.$O 58 size $target 59 60test:V: 8.cwfs$FS 61 cputype=debug $prereq -a 'tcp!*!1234' </dev/null 62