]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - trek/Makefile
cgram: add advanced cursor movement with tab, shift+tab, return
[bsdgames-darwin.git] / trek / Makefile
1 # $NetBSD: Makefile,v 1.16 2018/06/10 17:55:11 christos Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 PROG= trek
5 SRCS= abandon.c attack.c autover.c capture.c check_out.c checkcond.c \
6 compkl.c computer.c damage.c damaged.c dcrept.c destruct.c \
7 dock.c dumpgame.c dumpme.c dumpssradio.c events.c externs.c \
8 getcodi.c getpar.c help.c impulse.c initquad.c kill.c klmove.c \
9 lose.c lrscan.c main.c move.c nova.c out.c phaser.c play.c ram.c \
10 ranf.c rest.c schedule.c score.c setup.c setwarp.c \
11 shield.c snova.c srscan.c systemname.c torped.c \
12 visual.c warp.c win.c
13 MAN= trek.6
14
15 all: $(PROG)
16
17 $(PROG): $(SRCS)
18 $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
19 $(STRIP) $(PROG)
20
21 install: $(PROG) $(MAN)
22 $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
23 $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
24
25 clean:
26 rm -f $(CLEANFILES) $(PROG)
27
28 .PHONY: all clean install