diff options
Diffstat (limited to 'test/results_test/GNUmakefile')
| -rw-r--r-- | test/results_test/GNUmakefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/results_test/GNUmakefile b/test/results_test/GNUmakefile new file mode 100644 index 000000000000..f5b14b1f6648 --- /dev/null +++ b/test/results_test/GNUmakefile @@ -0,0 +1,20 @@ +.PHONY: regress clean + +CFLAGS = -fsanitize=address -fsanitize=undefined -g -O3 +CFLAGS += -Wstrict-prototypes -Wunused-variable -Wuninitialized + +CFLAGS+= -I$(CURDIR)/../../compat/include \ + -I$(CURDIR)/../../include \ + -I$(CURDIR)/../../lib + +$(CURDIR)/results_test: $(CURDIR)/../results_test.c $(CURDIR)/../../lib/libdiff.a + gcc $(CFLAGS) -o $@ $^ + +$(CURDIR)/../../lib/libdiff.a: $(CURDIR)/../../lib/*.[hc] $(CURDIR)/../../include/*.h + $(MAKE) -C $(CURDIR)/../../lib + +regress: $(CURDIR)/results_test + $(CURDIR)/results_test + +clean: + -rm $(CURDIR)/results_test |
