blob: 73832f4e21049357601c555c081d5db43fc4f650 (
plain)
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
28
29
30
31
32
33
|
--- Makefile.orig Wed Apr 19 00:37:44 2000
+++ Makefile Tue Jul 11 03:58:32 2000
@@ -4,24 +4,24 @@
OS=$(shell uname -s)
# Compiler
-CC= gcc
+CC?= gcc
# Install prefix
-PREFIX=/usr
+PREFIX?=/usr/local
# Installation directory -- where the binary will go
INSTALLDIR= $(PREFIX)/bin
# Location to store auxilliary files
-AUXDIR= $(PREFIX)/lib/grip
+AUXDIR= $(PREFIX)/etc
# Compiler flags
-CFLAGS= -Wall `gtk-config --cflags` -DAUXDIR=\"$(AUXDIR)\" \
- -DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT
+CFLAGS+= `$(GTK_CONFIG) --cflags` -DAUXDIR=\"$(AUXDIR)\" \
+ -DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT -D_THREAD_SAFE
# Link libraries
-LIBS= `gtk-config --libs`
+LIBS= `$(GTK_CONFIG) --libs`
ifeq ($(OS), Linux)
LIBS+= -lpthread
endif
|