blob: 48cff7a0b415348c46d99216fb07600436e4bf1e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
SIMPLE_MEM := tests/simple_mem
SIMPLE_MEM_NO_BUS := $(SIMPLE_MEM)/traffic_gen.c $(SIMPLE_MEM)/no_bus.c
SIMPLE_MEM_BUS := $(SIMPLE_MEM)/traffic_gen.c $(SIMPLE_MEM)/bus.c
SIMPLE_MEM_MANY := $(SIMPLE_MEM)/traffic_gen.c $(SIMPLE_MEM)/many.c
TESTS += $(SIMPLE_MEM)/no_bus $(SIMPLE_MEM)/bus $(SIMPLE_MEM)/many
build/$(SIMPLE_MEM):
mkdir -p $@
$(SIMPLE_MEM)/no_bus: build/$(SIMPLE_MEM) $(SIMPLE_MEM_NO_BUS) libgran.a
$(COMPILE_TEST) $(SIMPLE_MEM_NO_BUS) libgran.a -o build/$@
./scripts/gen-report -d build $@
$(SIMPLE_MEM)/bus: build/$(SIMPLE_MEM) $(SIMPLE_MEM_BUS) libgran.a
$(COMPILE_TEST) $(SIMPLE_MEM_BUS) libgran.a -o build/$@
./scripts/gen-report -d build $@
$(SIMPLE_MEM)/many: build/$(SIMPLE_MEM) $(SIMPLE_MEM_MANY) libgran.a
$(COMPILE_TEST) $(SIMPLE_MEM_MANY) libgran.a -o build/$@
./scripts/gen-report -d build $@
|