aboutsummaryrefslogtreecommitdiff
path: root/tests/simple_mesh1d/source.mk
blob: f2792c97c3e6e85ec209aa1d41dbfe553a709103 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
SIMPLE_MESH1D		:= tests/simple_mesh1d
SIMPLE_MESH1D_SIM	:= $(SIMPLE_MESH1D)/sim.c

TESTS += $(SIMPLE_MESH1D)/sim

.PHONY: $(SIMPLE_MESH1D)/sim
$(SIMPLE_MESH1D)/sim: $(SIMPLE_MESH1D_SIM) libgran.a
	mkdir -p build/$(SIMPLE_MESH1D)
	./scripts/gen-rv64-fw -d build -o $(SIMPLE_MESH1D)/test.inc $(SIMPLE_MESH1D)/test.c
	$(COMPILE_TEST) $(SIMPLE_MESH1D_SIM) libgran.a -o build/$@
	./scripts/gen-report -d build $@