mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
98b6c02f5c
Beforeinstall score file to the right place Use srandomdev Remove revoke, it broke scores and scenarios Fix names in FILES manpage section
21 lines
671 B
Makefile
21 lines
671 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
|
|
PROG= atc
|
|
CFLAGS+=-DBSD -I${.CURDIR} -I.
|
|
SRCS= extern.c grammar.c graphics.c input.c lex.c list.c log.c \
|
|
main.c tunable.c update.c
|
|
MAN6= atc.6
|
|
DPADD= ${LIBL} ${LIBM} ${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
|
|
LDADD= -ll -lm -lcurses -ltermcap -lcompat
|
|
GAMES= Game_List Killer crossover default easy game_2
|
|
CLEANFILES=grammar.c y.tab.h lex.c
|
|
HIDEGAME=hidegame
|
|
|
|
beforeinstall:
|
|
(cd ${.CURDIR}/games; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 440 \
|
|
${GAMES} ${DESTDIR}${SHAREDIR}/games/atc)
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/games/ATC_scores \
|
|
${DESTDIR}/var/games/atc_score
|
|
|
|
.include <bsd.prog.mk>
|