blob: ca7fccaa8f75c024bfe87c9cf228a095c4509448 (
plain) (
blame)
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
27
|
--- Makefile.orig Sat Jul 31 14:33:44 1999
+++ Makefile Sun Aug 1 22:21:37 1999
@@ -19,11 +19,11 @@
EXTRA_CFLAGS = -DQSTAT23 # -DCOMPRESSOR_BZIP2 -DDEBUG
-CC = gcc
-CFLAGS = -O2 -g -Wall `gtk-config --cflags` $(EXTRA_CFLAGS)
-LDFLAGS = `gtk-config --libs`
+CC ?= gcc
+CFLAGS += -Wall `gtk12-config --cflags` $(EXTRA_CFLAGS)
+LDFLAGS = `gtk12-config --libs`
-INSTALL_ROOT = /usr/local
+INSTALL_ROOT = ${PREFIX}
TARGET = xqf
@@ -46,7 +46,7 @@
$(CC) $(CFLAGS) $(CPPFLAGS) -MM $$i; done) > Makefile
install:
- install -s -m 755 -g root -o root $(TARGET) $(INSTALL_ROOT)/bin
+ ${INSTALL_PROGRAM} $(TARGET) $(INSTALL_ROOT)/bin
dist-clean clean:
rm -f *.[oasi] *~ core $(TARGET) Makefile.old
|