BIN = devlist SOURCE = $(BIN).c CFLAGS = -Wall -std=c99 -D_GNU_SOURCE LDLIBS = -lpcap .PHONY: clean run install all all: run install: $(BIN) @cp $(BIN) /var/tmp/pcap/bin run: install @sleep 0.1 /var/tmp/pcap/bin eth0 clean: $(RM) $(BIN)