summaryrefslogtreecommitdiff
path: root/system/ink/ink-0.4.1-Makefile.diff
blob: 05c6741e62d91c1a56bbc6183568d013e96aed24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Nur ink-0.4.1.orig/Makefile ink-0.4.1/Makefile
--- ink-0.4.1.orig/Makefile	2006-09-06 09:06:22.000000000 -0500
+++ ink-0.4.1/Makefile	2008-01-06 13:52:42.531413083 -0600
@@ -1,12 +1,13 @@
-CFLAGS = -Wall -O2 -L$(PWD)/../../../libinklevel/cvs/libinklevel \
+CFLAGS += -Wall -O2 -L$(PWD)/../../../libinklevel/cvs/libinklevel \
          -I$(PWD)/../../../libinklevel/cvs/libinklevel -linklevel
-DESTDIR = /usr/local/
+DESTDIR= 
+PREFIX = /usr/local/
 
 all: ink 
 
 install: all
-	mkdir -p $(DESTDIR)/bin
-	install -m 755 -o root -g root ink $(DESTDIR)/bin/ink
+	mkdir -p $(DESTDIR)/$(PREFIX)/bin
+	install -m 755 -o root -g root ink $(DESTDIR)/$(PREFIX)/bin/ink
 
 clean:
 	rm -fr ink *.o *~