]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - backgammon/teachgammon/Makefile
Fix merge conflicts
[bsdgames-darwin.git] / backgammon / teachgammon / Makefile
1 # $NetBSD: Makefile,v 1.11 2002/09/18 06:16:39 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= teachgammon
5 SRCS= data.c teach.c ttext1.c ttext2.c tutor.c
6 COMMONOBJS= ../common_source/allow.o \
7 ../common_source/board.o \
8 ../common_source/check.o \
9 ../common_source/fancy.o \
10 ../common_source/init.o \
11 ../common_source/odds.o \
12 ../common_source/one.o \
13 ../common_source/save.o \
14 ../common_source/subs.o \
15 ../common_source/table.o
16
17 all: $(PROG)
18
19 $(PROG): $(SRCS) $(COMMONOBJS)
20 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) $(COMMONOBJS) -I../common_source -lncursesw
21 $(STRIP) $(PROG)
22
23 install: $(PROG)
24 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
25
26 clean:
27 rm -f $(CLEANFILES) $(PROG)
28
29 .PHONY: all clean install