summaryrefslogtreecommitdiff
path: root/sysutils/phantom/files/patch-Makefile
blob: 5faa8e8f5f5874dedbd6826c69881206287e02d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.orig	Fri Jul  8 05:30:27 2005
+++ Makefile	Wed Jan 25 11:27:25 2006
@@ -1,8 +1,8 @@
 VERSION=1.2
 
 DEBUG=#-g
-LDFLAGS=$(DEBUG)
-CFLAGS=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
+LDFLAGS+=$(DEBUG)
+CFLAGS+=-DVERSION=\"$(VERSION)\" -DMADV_SEQUENTIAL $(DEBUG)
 
 OBJS=phantom.o
 
@@ -12,7 +12,7 @@
 	$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o phantom
 
 install: phantom
-	cp phantom $(DESTDIR)/usr/bin
+	${INSTALL} -m 755 phantom ${PREFIX}/bin
 
 clean:
 	rm -f $(OBJS) core phantom