mirror of
https://github.com/VibeDarling/darling-libkqueue.git
synced 2026-11-15 09:58:41 -10:00
* 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
17 lines
247 B
Makefile
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
|