8 lines
220 B
Makefile
8 lines
220 B
Makefile
|
CFLAGS += $(shell pkg-config --cflags json-c)
|
||
|
LDFLAGS += $(shell pkg-config --libs json-c)
|
||
|
|
||
|
all: neighbours-batadv
|
||
|
|
||
|
neighbours-batadv: neighbours-batadv.c
|
||
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -o $@ $^ $(LDLIBS)
|