aboutsummaryrefslogtreecommitdiffstats
path: root/include/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile
new file mode 100644
index 0000000..12f4e25
--- /dev/null
+++ b/include/Makefile
@@ -0,0 +1,9 @@
+CFLAGS += -Wall -DDEBUG_LOG -g
+
+libcomfig.a: uart_api.o
+ $(AR) rcs $@ $^
+ rm *.o
+ mv libcomfig.a ../lib
+
+uart_api.o: uart_api.c
+ $(CC) $(CFLAGS) -c $< -o $@