Files
mheily b13e9222a5 * Use GCC instead of ld(1) for the linking stage. [Fixes problem reported by Mario Schwalbe]
* New target 'rpm' builds RPMs and DEBs.

  * The 'make install' target now respects DESTDIR

  * New unit test program that uses libdispatch.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@113 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-26 06:09:44 +00:00

17 lines
247 B
Makefile

CFLAGS=`pkg-config --cflags libkqueue`
LDADD=`pkg-config --libs libkqueue` -ldispatch
all: disptest
disptest: main.o
$(CC) -o disptest $(CFLAGS) main.c $(LDADD)
check: disptest
./disptest
clean:
rm -f *.o
distclean: clean
rm -f disptest