]> git.meshlink.io Git - utcp/blobdiff - Makefile
Fix free_connection() moving the wrong memory.
[utcp] / Makefile
index f62279859a3ace0308963ab2d3575ad7b08b6094..07308bee3fda82d634b287162287ac7591961887 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,15 @@
 CFLAGS ?= -O0 -Wall -g
-CFLAGS += -std=c99
+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)