mirror of
https://github.com/linux-msm/pd-mapper.git
synced 2026-02-25 13:12:10 -08:00
Mappings are stored in JSON structured files, introduce a JSON parser to load these. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
20 lines
301 B
Makefile
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)
|