X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile;h=6cb1bc9ab5e8bd1716d5e2932e49666ac0c881e8;hb=275129c9d08b2d29529b2f9d039198168aeb52a7;hp=974895450f5ddb1ec5590944d2ad4f5860d75b4c;hpb=850542e9585f716985c25d5995ba5bcb2cc6ba87;p=utcp diff --git a/Makefile b/Makefile index 9748954..6cb1bc9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS ?= -Og -Wall -g +CFLAGS ?= -Og -Wall -W -pedantic -g CFLAGS += -std=c99 -DUTCP_DEBUG BIN = selftest test @@ -15,6 +15,7 @@ clean: rm -f *.o $(BIN) astyle: + @astyle --version | grep -q "Version 3" || (echo 'ERROR: astyle version 3 required!' 1>&2 && exit 1) astyle --options=.astylerc -nQ *.c *.h .PHONY: clean astyle