File: Makefile

package info (click to toggle)
libkqueue 2.3.1-1.1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 792 kB
  • sloc: ansic: 9,341; makefile: 68; perl: 22; sh: 7
file content (16 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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