summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: a6b97a789049e5656a433618ac1fc206524b33c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS=-g -O0 -Wall -W -pipe $(shell pkg-config --cflags glib-2.0) -Wno-unused
LIBS=$(shell pkg-config --libs glib-2.0)

all: flexmdns prioq-test

flexmdns: timeeventq.o main.o iface.o netlink.o server.o address.o util.o prioq.o cache.o rr.o
	$(CC) -o $@ $^ $(LIBS)

#test-llist: test-llist.o
#	$(CC) -o $@ $^ $(LIBS)

prioq-test: prioq-test.o prioq.o
	$(CC) -o $@ $^ $(LIBS)


*.o: *.h

clean:
	rm -f *.o flexmdns