mirror of
https://github.com/linux-msm/rmtfs.git
synced 2024-11-23 12:14:12 +08:00
d28f52c246
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
22 lines
354 B
Makefile
22 lines
354 B
Makefile
OUT := rmtfs
|
|
|
|
CFLAGS := -Wall -g -I../qrtr/lib -O2
|
|
LDFLAGS := -L../qrtr -lqrtr
|
|
prefix := /usr/local
|
|
|
|
SRCS := qmi_rmtfs.c qmi_tlv.c rmtfs.c sharedmem.c storage.c util.c
|
|
OBJS := $(SRCS:.c=.o)
|
|
|
|
$(OUT): $(OBJS)
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
%.c: %.qmi
|
|
qmic < $<
|
|
|
|
install: $(OUT)
|
|
install -D -m 755 $< $(DESTDIR)$(prefix)/bin/$<
|
|
|
|
clean:
|
|
rm -f $(OUT) $(OBJS)
|
|
|