have 'make obj' recurse into gotweb; ok tracey
diff --git a/Makefile b/Makefile
index 4c9c3d5..50b44e8 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ SUBDIR = libexec got tog
SUBDIR += regress
.endif
-.if make(clean)
+.if make(clean) || make(obj)
SUBDIR += gotweb
.endif
diff --git a/gotweb/Makefile b/gotweb/Makefile
index 82b776f..11cc80d 100644
--- a/gotweb/Makefile
+++ b/gotweb/Makefile
@@ -13,7 +13,8 @@ SRCS = gotweb.c parse.y blame.c commit_graph.c delta.c diff.c \
deflate.c object_create.c delta_cache.c
MAN = ${PROG}.conf.5
-CPPFLAGS += -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${PREFIX}/include
+CPPFLAGS += -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR} \
+ -I${PREFIX}/include
LDADD += -L${PREFIX}/lib -static -lkcgihtml -lkcgi -lz -lutil