]> git.meshlink.io Git - utcp/blobdiff - Makefile
Handle channel closure during a receive callback when the ringbuffer wraps.
[utcp] / Makefile
index faa2f66a3b8e191e36340f3c6d64c466393baae6..134ca516bf34d3605fa00cc5c1bb9dd67bc2f388 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,12 +9,15 @@ utcp.o: utcp.c utcp.h utcp_priv.h
 
 test: utcp.o test.c
 
+stream: stream.c
+
 selftest: utcp.o selftest.c
 
 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