2000-04-02 01:00:24 +00:00
|
|
|
--- Makefile.orig Sun Mar 30 09:36:44 1997
|
|
|
|
+++ Makefile Thu Mar 30 01:54:39 2000
|
|
|
|
@@ -2,21 +2,17 @@
|
|
|
|
# Makefile for Starlanes
|
1997-06-10 09:48:34 +00:00
|
|
|
#
|
|
|
|
|
2000-04-02 01:00:24 +00:00
|
|
|
-CC=gcc
|
1997-06-10 09:48:34 +00:00
|
|
|
-CCOPTS=-Wall
|
2000-04-02 01:00:24 +00:00
|
|
|
+CC?=gcc
|
|
|
|
+CCOPTS=${CFLAGS}
|
1997-06-10 09:48:34 +00:00
|
|
|
CURSESLIB=ncurses
|
2000-04-02 01:00:24 +00:00
|
|
|
-INSTALLDIR=/usr/local
|
|
|
|
+INSTALLDIR=${PREFIX}
|
1997-06-10 09:48:34 +00:00
|
|
|
|
2000-04-02 01:00:24 +00:00
|
|
|
starlanes: starlanes.c
|
|
|
|
$(CC) $(CCOPTS) -o starlanes starlanes.c -l$(CURSESLIB)
|
|
|
|
|
|
|
|
install:
|
|
|
|
- cp starlanes $(INSTALLDIR)/games
|
|
|
|
- cp starlanes.6 $(INSTALLDIR)/man/man6
|
|
|
|
- chown bin:bin $(INSTALLDIR)/games/starlanes
|
|
|
|
- chown root:root $(INSTALLDIR)/man/man6/starlanes.6
|
|
|
|
- chmod 755 $(INSTALLDIR)/games/starlanes
|
|
|
|
- chmod 444 $(INSTALLDIR)/man/man6/starlanes.6
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} starlanes $(INSTALLDIR)/bin
|
|
|
|
+ ${BSD_INSTALL_MAN} starlanes.6 $(INSTALLDIR)/man/man6
|
|
|
|
|
|
|
|
# fakeinstall just echos the install commands:
|
|
|
|
fakeinstall:
|