mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-10-07 09:13:21 +00:00
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:
parent
7fbedde1c3
commit
18c4e35648
2
Makefile
2
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) $<
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user