1
0
Fork 0
nbsdgames/mkfile

40 lines
614 B
Plaintext
Raw Normal View History

APE=/sys/src/ape
<$APE/config
2020-06-07 04:59:29 +00:00
#comment out all that depend on variable size arrays
TARG=\
battleship \
checkers \
darrt \
fifteen \
fisher \
jewels \
2020-06-12 20:34:46 +00:00
memoblocks \
miketron \
mines \
muncher \
pipes \
rabbithole \
redsquare \
reversi \
sos \
snakeduel \
2022-12-17 05:32:48 +00:00
sudoku \
tugow \
trsr \
revenge \
sjump \
2020-06-07 04:59:29 +00:00
BIN=/$objtype/bin/games
UPDATE=\
mkfile\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkmany
#function draw() conflicts with libdraw
2020-06-07 04:59:29 +00:00
CFLAGS= -c -D_POSIX_SOURCE -D_BSD_EXTENSION -DPlan9 -Ddraw=nb_draw
$O.out: /$objtype/lib/ape/libcurses.a