summaryrefslogtreecommitdiff
path: root/games/ninvaders/patches/patch-aa
blob: 1a40d26c286d9480134ba59c6141b2f6ee73509a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.1.1.1 2009/04/11 18:00:42 snj Exp $

--- Makefile.orig	2003-05-08 12:19:50.000000000 -0700
+++ Makefile	2009-04-01 13:22:43.000000000 -0700
@@ -1,6 +1,4 @@
-CC=gcc
-CFLAGS=-O3 -Wall
-LIBS=-lncurses
+LIBS=-lcurses
 
 CFILES=globals.c view.c aliens.c ufo.c player.c nInvaders.c
 HFILES=globals.h view.h aliens.h ufo.h player.h nInvaders.h
@@ -14,3 +12,6 @@ nInvaders: 	$(OFILES) $(HFILES)
 		$(CC) -c  -I. $(CFLAGS) $(OPTIONS) $<
 clean:
 		rm -f nInvaders $(OFILES)
+
+install:
+		${BSD_INSTALL_PROGRAM} nInvaders ${DESTDIR}${PREFIX}/bin/ninvaders