X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile;h=c2429e5f9c256dfb01b8d02151cf293e4c4df2c0;hb=d1b2b2dc5997c6818e24bd45b916d8b06c13b892;hp=c7232b9bbff76ddf78b27563c791ec22ae6fa38b;hpb=95d7d348316f1ed8d2ff3e37cb7f962abf4a7f84;p=utcp diff --git a/Makefile b/Makefile index c7232b9..c2429e5 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,17 @@ -CFLAGS ?= -O0 -Wall -g -CFLAGS += -std=c99 +CFLAGS ?= -Og -Wall -g +CFLAGS += -std=c99 -DUTCP_DEBUG -test: utcp.c test.c +BIN = selftest test -selftest: utcp.c selftest.c +all: $(BIN) + +utcp.o: utcp.c utcp.h utcp_priv.h + +test: utcp.o test.c + +selftest: utcp.o selftest.c clean: - rm -f *.o test selftest + rm -f *.o $(BIN) .PHONY: clean