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