aboutsummaryrefslogtreecommitdiff
path: root/tests/simple_mesh3d/source.mk
blob: 36c25569a68372f128aa211e9df274937ffdf28e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
SIMPLE_MESH3D		:= tests/simple_mesh3d
SIMPLE_MESH3D_SIM	:= $(SIMPLE_MESH3D)/sim.c

TESTS += $(SIMPLE_MESH3D)/sim

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