2020-06-06 02:14:56 -04:00
|
|
|
APE=/sys/src/ape
|
|
|
|
<$APE/config
|
|
|
|
|
2020-06-07 00:59:29 -04:00
|
|
|
#comment out all that depend on variable size arrays
|
2020-06-06 02:14:56 -04:00
|
|
|
TARG=\
|
|
|
|
battleship \
|
|
|
|
checkers \
|
2020-06-11 16:46:57 -04:00
|
|
|
fifteen \
|
2020-06-06 02:14:56 -04:00
|
|
|
fisher \
|
|
|
|
jewels \
|
2020-06-11 16:46:57 -04:00
|
|
|
memoblocks \
|
|
|
|
miketron \
|
|
|
|
mines \
|
|
|
|
muncher \
|
|
|
|
pipes \
|
|
|
|
rabbithole \
|
2020-06-06 02:14:56 -04:00
|
|
|
redsquare \
|
|
|
|
reversi \
|
2020-06-11 16:46:57 -04:00
|
|
|
sos \
|
|
|
|
sudoku
|
2020-06-06 02:14:56 -04:00
|
|
|
|
2020-06-07 00:59:29 -04:00
|
|
|
BIN=/$objtype/bin/games
|
2020-06-06 02:14:56 -04:00
|
|
|
|
|
|
|
UPDATE=\
|
|
|
|
mkfile\
|
|
|
|
${OFILES:%.$O=%.c}\
|
|
|
|
|
|
|
|
</sys/src/cmd/mkmany
|
|
|
|
|
2020-06-11 16:46:57 -04:00
|
|
|
#function draw() conflicts with libdraw
|
2020-06-07 00:59:29 -04:00
|
|
|
CFLAGS= -c -D_POSIX_SOURCE -D_BSD_EXTENSION -DPlan9 -Ddraw=nb_draw
|
2020-06-06 02:14:56 -04:00
|
|
|
|
|
|
|
$O.out: /$objtype/lib/ape/libcurses.a
|