about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorjacekm <jacekm>2010-06-15 23:50:10 +0000
committerjacekm <jacekm>2010-06-15 23:50:10 +0000
commit5886a9abcd73aa7faacd8227147f2b661258c094 (patch)
tree79482974943b8d22f280f33877039fcdaebecb34
parent1566e2eddf7be2b0101ba94684209e975ff59e3c (diff)
downloadxombrero-5886a9abcd73aa7faacd8227147f2b661258c094.tar.gz
Set BINDIR=/usr/local/bin
Fix the "linker input file unused since linking not done" warnings.
ok marco
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 266dac8..970be03 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,19 @@
-# $xxxterm
+# $xxxterm$
 
 PROG=xxxterm
 MAN=xxxterm.1
+BINDIR=/usr/local/bin
 
 SRCS= xxxterm.c
 COPT+= -O2
-DEBUG+= -ggdb3 
-LDADD= -l util
+DEBUG= -ggdb3
+LDADD= -lutil
 LIBS+= gtk+-2.0
 LIBS+= webkit-1.0
 LIBS+= libsoup-2.4
-GTK!=pkg-config --cflags --libs $(LIBS)
-CFLAGS+=$(GTK) -Wall -pthread
-LDFLAGS+=$(GTK) -pthread
+GTK_CFLAGS!= pkg-config --cflags $(LIBS)
+GTK_LDFLAGS!= pkg-config --libs $(LIBS)
+CFLAGS+= $(GTK_CFLAGS) -Wall -pthread
+LDFLAGS+= $(GTK_LDFLAGS) -pthread
 
 .include <bsd.prog.mk>