summaryrefslogtreecommitdiff
path: root/games/bastet/patches/patch-ac
blob: e629a94fb7f95942322c87ce431d693349cab814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ac,v 1.2 2006/09/14 21:58:59 rillig Exp $

For one-time building, the dependencies are not needed.

--- Makefile.orig	2004-10-19 19:54:58.000000000 +0200
+++ Makefile	2006-09-14 23:55:46.501239484 +0200
@@ -11,8 +11,8 @@ HISCORE=bastet.scores
 GAME_USER=games
 
 CC=gcc
-CFLAGS=-Wall -DHIGHSCORE_FILE=\"$(DATA_PREFIX)$(HISCORE)\"
-LDFLAGS=-lncurses
+CFLAGS+=-Wall -DHIGHSCORE_FILE=\"$(DATA_PREFIX)$(HISCORE)\"
+LDFLAGS+=-lncurses
 SOURCES=main.c game.c highscore.c bast.c
 EXNAME=bastet
 
@@ -26,8 +26,6 @@ $(EXNAME) : $(SOURCES:.c=.o)
 | sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' > $@; \
 [ -s $@ ] || rm -f $@
 
-include $(SOURCES:.c=.d)
-
 %.o: %.c
 	$(CC) $(CFLAGS) -c $< -o $@