]> git.meshlink.io Git - utcp/blobdiff - Makefile
Fix buffer resizing logic in buffer_put_at().
[utcp] / Makefile
index f62279859a3ace0308963ab2d3575ad7b08b6094..c2429e5f9c256dfb01b8d02151cf293e4c4df2c0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,15 @@
-CFLAGS ?= -O0 -Wall -g
-CFLAGS += -std=c99
+CFLAGS ?= -Og -Wall -g
+CFLAGS += -std=c99 -DUTCP_DEBUG
 
 BIN = selftest test
 
 all: $(BIN)
 
-test: utcp.c test.c
+utcp.o: utcp.c utcp.h utcp_priv.h
 
-selftest: utcp.c selftest.c
+test: utcp.o test.c
+
+selftest: utcp.o selftest.c
 
 clean:
        rm -f *.o $(BIN)