about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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>