From 18c4e35648fb67f705b55b49ca3daf810be32afb Mon Sep 17 00:00:00 2001 From: mheily Date: Wed, 25 Nov 2009 01:17:14 +0000 Subject: [PATCH] add phony targets. more kqtest build fixes git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@111 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7 --- Makefile | 2 ++ test/config.inc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fe391c8..0be5837 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,8 @@ DIST=heily.com:$$HOME/public_html/$(PROGRAM)/dist include config.mk +.PHONY :: install uninstall check dist dist-upload publish-www clean merge distclean fresh-build + %.o: %.c $(DEPS) $(CC) -c -o $@ $(CFLAGS) $< diff --git a/test/config.inc b/test/config.inc index 7adfbd8..ac324a3 100755 --- a/test/config.inc +++ b/test/config.inc @@ -12,7 +12,7 @@ pre_configure_hook() { || { sys_event_h="../include/sys/event.h" cflags="$cflags -I../include" - ldadd="$ldadd ../libkqueue.a -lpthread -lrt" + ldadd="$ldadd libkqueue.a -lpthread -lrt" } test "$target" = "solaris" && ldadd="$ldadd -lsocket"