a175bb6558
PR: 22246 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
33 lines
718 B
Plaintext
33 lines
718 B
Plaintext
--- Makefile.orig Thu Oct 19 04:12:53 2000
|
|
+++ Makefile Fri Oct 20 20:33:10 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)\" \
|
|
+CFLAGS+= `$(GTK_CONFIG) --cflags gthread` -DAUXDIR=\"$(AUXDIR)\" \
|
|
-DINSTALLDIR=\"$(INSTALLDIR)\" -D_REENTRANT
|
|
|
|
# Link libraries
|
|
-LIBS= `gtk-config --libs gthread`
|
|
+LIBS= `$(GTK_CONFIG) --libs gthread`
|
|
ifeq ($(OS), Linux)
|
|
LIBS+= -lpthread
|
|
endif
|