1.PHONY: regress clean 2 3CFLAGS = -fsanitize=address -fsanitize=undefined -g -O3 4CFLAGS += -Wstrict-prototypes -Wunused-variable -Wuninitialized 5 6CFLAGS+= -I$(CURDIR)/../../compat/include \ 7 -I$(CURDIR)/../../include \ 8 -I$(CURDIR)/../../lib 9 10$(CURDIR)/results_test: $(CURDIR)/../results_test.c $(CURDIR)/../../lib/libdiff.a 11 gcc $(CFLAGS) -o $@ $^ 12 13$(CURDIR)/../../lib/libdiff.a: $(CURDIR)/../../lib/*.[hc] $(CURDIR)/../../include/*.h 14 $(MAKE) -C $(CURDIR)/../../lib 15 16regress: $(CURDIR)/results_test 17 $(CURDIR)/results_test 18 19clean: 20 -rm $(CURDIR)/results_test 21