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