qmic/Makefile
Bjorn Andersson eaa0f3b8a5 parser: Move parser code from qmic.c to parser.c
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-01-30 16:03:50 -08:00

19 lines
283 B
Makefile

OUT := qmic
CFLAGS := -Wall -g -O2
LDFLAGS :=
prefix := /usr/local
SRCS := parser.c qmic.c qmi_message.c qmi_struct.c
OBJS := $(SRCS:.c=.o)
$(OUT): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
install: $(OUT)
install -D -m 755 $< $(DESTDIR)$(prefix)/bin/$<
clean:
rm -f $(OUT) $(OBJS)