]> git.meshlink.io Git - utcp/blobdiff - Makefile
Format the code using the Artistic Style formatter.
[utcp] / Makefile
index 9b18c51de4df8a52070e63e4dc6bc6a1b46931e8..974895450f5ddb1ec5590944d2ad4f5860d75b4c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CFLAGS ?= -O0 -Wall -g
-CFLAGS += -std=c99
+CFLAGS ?= -Og -Wall -g
+CFLAGS += -std=c99 -DUTCP_DEBUG
 
 BIN = selftest test
 
@@ -14,4 +14,7 @@ selftest: utcp.o selftest.c
 clean:
        rm -f *.o $(BIN)
 
-.PHONY: clean
+astyle:
+       astyle --options=.astylerc -nQ *.c *.h
+
+.PHONY: clean astyle