summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-02-07 09:27:50 -0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-02-07 09:27:50 -0800
commit241fff829e1deb44d0774a9993b02d9b97b7d10f (patch)
tree144fba7861427d8eaa1eef93944d7f783b8e59a8 /Makefile
parent739fbdc423e43e299e22f5ac2e85d7c467909269 (diff)
qmic: Initial basic implementation
This initial implementation is capable of generating encoder and decoder accessors for messages with basic integers, strings, arrays and structs. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..22b999b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+OUT := qmic
+
+CFLAGS := -Wall -g
+LDFLAGS :=
+
+SRCS := qmic.c qmi_message.c qmi_struct.c
+OBJS := $(SRCS:.c=.o)
+
+$(OUT): $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $^
+
+test: $(OUT)
+ ./$(OUT)
+
+clean:
+ rm -f $(OUT) $(OBJS)
+