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
This commit is contained in:
mheily 2009-11-25 01:17:14 +00:00
parent 7fbedde1c3
commit 18c4e35648
2 changed files with 3 additions and 1 deletions

View File

@ -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) $<

View File

@ -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"