mirror of
https://github.com/linux-msm/rmtfs.git
synced 2025-12-24 22:19:15 +01:00
Merge pull request #1 from ndechesne/gnu
Makefile: implement GNU Coding Standard for Makefiles
This commit is contained in:
5
Makefile
5
Makefile
@@ -2,6 +2,7 @@ OUT := rmtfs
|
||||
|
||||
CFLAGS := -Wall -g -I../qrtr/lib
|
||||
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)
|
||||
@@ -12,8 +13,8 @@ $(OUT): $(OBJS)
|
||||
%.c: %.qmi
|
||||
qmic < $<
|
||||
|
||||
test: $(OUT)
|
||||
./$(OUT)
|
||||
install: $(OUT)
|
||||
install -D -m 755 $< $(DESTDIR)$(prefix)/bin/$<
|
||||
|
||||
clean:
|
||||
rm -f $(OUT) $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user