Makefile revision 1.3
11.1Scgd# @(#)Makefile 5.7 (Berkeley) 6/27/90 21.1Scgd 31.1ScgdPROG= atc 41.1ScgdCFLAGS+=-DBSD -I${.CURDIR} -I. 51.1ScgdSRCS= extern.c grammar.c graphics.c input.c lex.c list.c log.c \ 61.1Scgd main.c tunable.c update.c 71.1ScgdMAN6= atc.0 81.2ScgdDPADD= ${usr/lib/libl.a ${LIBM} ${LIBTERM} ${LIBCURSES} 91.2ScgdLDADD= -ll -lm -lcurses -ltermcap 101.1ScgdGAMES= ATC_scores Game_List Killer crossover default easy game_2 111.1ScgdCLEANFILES=grammar.c y.tab.h lex.c 121.1ScgdHIDEGAME=hidegame 131.1Scgd 141.1Scgdbeforeinstall: 151.3Scgd @if [ ! -d ${DESTDIR}/usr/share/games/atc ]; then \ 161.3Scgd /bin/rm -f ${DESTDIR}/usr/share/games/atc ; \ 171.3Scgd mkdir -p ${DESTDIR}/usr/share/games/atc ; \ 181.3Scgd chown root.wheel ${DESTDIR}/usr/share/games/atc ; \ 191.3Scgd chmod 755 ${DESTDIR}/usr/share/games/atc ; \ 201.3Scgd else \ 211.3Scgd true ; \ 221.3Scgd fi 231.1Scgd (cd ${.CURDIR}/games; install -c -o ${BINOWN} -g ${BINGRP} -m 400 \ 241.1Scgd ${GAMES} ${DESTDIR}/usr/share/games/atc) 251.1Scgd 261.1Scgd.include <bsd.prog.mk> 27