mirror of
https://github.com/linux-msm/qmic.git
synced 2024-11-23 17:54:01 +08:00
eaa0f3b8a5
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
19 lines
283 B
Makefile
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)
|
|
|