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
|
2000-07-07 19:59:26 +00:00
|
|
|
+CFLAGS += `$(GTK_CONFIG) --cflags` $(EXTRA_CFLAGS)
|
|
|
|
+LDFLAGS = `$(GTK_CONFIG) --libs`
|
1999-05-09 16:59:33 +00:00
|
|
|
|
|
|
|
-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
|
2000-07-07 19:59:26 +00:00
|
|
|
+ ${BSD_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
|