File: mkfile

package info (click to toggle)
nbsdgames 5-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 428 kB
  • sloc: ansic: 8,592; makefile: 88; sh: 23
file content (35 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
APE=/sys/src/ape
<$APE/config

#comment out all that depend on variable size arrays
TARG=\
    battleship \
    checkers \
    darrt \
    fifteen \
    fisher \
    jewels \
    memoblocks \
    miketron \
    mines \
    muncher \
    pipes \
    rabbithole \
    redsquare \
    reversi \
    sos \
    snakeduel \
    sudoku

BIN=/$objtype/bin/games

UPDATE=\
	mkfile\
	${OFILES:%.$O=%.c}\

</sys/src/cmd/mkmany

#function draw() conflicts with libdraw
CFLAGS= -c -D_POSIX_SOURCE -D_BSD_EXTENSION -DPlan9 -Ddraw=nb_draw

$O.out:	/$objtype/lib/ape/libcurses.a