include ../shared.mk all: test-ada test-llvm edit: $(OPENGEODE) challenge.pr system_structure.pr test-parse: $(OPENGEODE) challenge.pr system_structure.pr --check test-ada: challenge.ali dataview-uniq.o | test_ada.o $(GNATBIND) -n challenge.ali $(GNATLINK) -o test_ada test_ada.o challenge.ali -lgnat -lm ./test_ada | diff expected - test-c: challenge.c test_c.o dataview-uniq.o $(CC) -include missing.h challenge.c -c -o challenge.o $(CC) test_c.o challenge.c dataview-uniq.o -lm -o test_c ./test_c | diff expected - test-llvm: challenge.o dataview-uniq.o | test_llvm.o $(CC) challenge.o dataview-uniq.o test_llvm.o -o test_llvm -lm ./test_llvm| diff expected - coverage: coverage run -p $(OPENGEODE) challenge.pr system_structure.pr --toAda .PHONY: all edit test-parse test-ada test-llvm coverage