]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - dab/Makefile
Get all the games compiling for iOS
[bsdgames-darwin.git] / dab / Makefile
1 # $NetBSD: Makefile,v 1.7 2010/02/03 15:34:38 roy Exp $
2
3 PROG=dab
4 MAN=dab.6
5 SRCS=algor.cc board.cc main.cc human.cc box.cc player.cc gamescreen.cc \
6 ttyscrn.cc random.cc
7
8 all: $(PROG)
9
10 $(PROG): $(SRCS)
11 $(CXX) $(CXXFLAGS) -o $(PROG) $(SRCS) -lncursesw
12 $(STRIP) $(PROG)
13
14 install: $(PROG) $(MAN)
15 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
16 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
17
18 clean:
19 rm -f $(CLEANFILES) $(PROG)
20
21 .PHONY: all clean install