* improved nl_open() to bind a sockaddr_nl to the socket
[nlq.git] / Makefile
blob4e811f495b3f1f375d08041b4afcc742820356d6
1 CC=diet gcc
2 CFLAGS=-Os -Wall
4 TOOL=nlq
5 OBJECTS=nlq.o netlink.o
7 .PHONY: all clear test
9 all: $(TOOL)
11 $(TOOL): $(OBJECTS)
13 clean:
14 rm -f *.o $(TOOL)
16 test: all
17 ./$(TOOL) || echo $$?