1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-12-04 14:46:22 -05:00
nbsdgames/sources/mkfile
2020-06-07 06:59:29 +02:00

33 lines
504 B
Makefile

APE=/sys/src/ape
<$APE/config
#comment out all that depend on variable size arrays
TARG=\
battleship \
checkers \
# fifteen \
fisher \
jewels \
# memoblocks \
# miketron \
# mines \
# muncher \
# pipes \
# rabbithole \
redsquare \
reversi \
# sos \
# sudoku
BIN=/$objtype/bin/games
UPDATE=\
mkfile\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkmany
CFLAGS= -c -D_POSIX_SOURCE -D_BSD_EXTENSION -DPlan9 -Ddraw=nb_draw
$O.out: /$objtype/lib/ape/libcurses.a