X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile;h=d10352e50d4a90bfd1e301322665ccc71eecc623;hb=619f181e8507d7195b5f855d9fb7922e956f8233;hp=f62279859a3ace0308963ab2d3575ad7b08b6094;hpb=53730e6f2e6d2625e935bd91c8639642f6d1519b;p=utcp diff --git a/Makefile b/Makefile index f622798..d10352e 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,15 @@ -CFLAGS ?= -O0 -Wall -g -CFLAGS += -std=c99 +CFLAGS ?= -O2 -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)