Files
pd-mapper/Makefile
Bjorn Andersson d357527aa0 json: Introduce JSON parser
Mappings are stored in JSON structured files, introduce a JSON parser to
load these.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-04-26 00:21:45 -07:00

20 lines
301 B
Makefile

PD_MAPPER := pd-mapper
CFLAGS := -Wall -g -O2
LDFLAGS := -lqrtr
SRCS := pd-mapper.c \
json.c \
servreg_loc.c
OBJS := $(SRCS:.c=.o)
$(PD_MAPPER): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS)
install: $(PD_MAPPER)
install -D -m 755 $< $(DESTDIR)$(prefix)/bin/$<
clean:
rm -f $(PD_MAPPER) $(OBJS)