Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit e429a5c

Browse files
author
f74064054@mail.ncku.edu.tw
committed
Delete the test-target in Makefile
1 parent 29cebae commit e429a5c

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

Makefile

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,4 @@
11
BINS = emu-rv32i test1
2-
TEST_TARGETS = \
3-
C-ADD.elf \
4-
C-ADDI.elf \
5-
C-ADDI4SPN.elf \
6-
C-AND.elf \
7-
C-ANDI.elf \
8-
C-BEQZ.elf \
9-
C-BNEZ.elf \
10-
C-J.elf \
11-
C-JAL.elf \
12-
C-JALR.elf \
13-
C-JR.elf \
14-
C-LI.elf \
15-
C-LUI.elf \
16-
C-LW.elf \
17-
C-LWSP.elf \
18-
C-MV.elf \
19-
C-NOP.elf \
20-
C-OR.elf \
21-
C-SLLI.elf \
22-
C-SRAI.elf \
23-
C-SRLI.elf \
24-
C-SUB.elf \
25-
C-SW.elf \
26-
C-SWSP.elf \
27-
C-XOR.elf
282

293
CROSS_COMPILE = riscv-none-embed-
304
RV32I_CFLAGS = -march=rv32i -mabi=ilp32 -O3 -nostdlib
@@ -33,28 +7,16 @@ CFLAGS = -O3 -Wall
337
LDFLAGS = -lelf
348

359
RUN_TARGET := ./emu-rv32i
36-
WORK_DIR = work/rv32imc
37-
38-
39-
40-
4110

4211

4312
all: $(BINS)
4413

45-
check-all:
46-
make $(patsubst %.elf, %.log, $(TEST_TARGETS))
47-
4814
emu-rv32i: emu-rv32i.c
4915
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
5016

5117
test1: test1.c
5218
$(CROSS_COMPILE)gcc $(RV32I_CFLAGS) -o $@ $<
5319

54-
55-
%.log: $(WORK_DIR)/%.elf
56-
$(RUN_TARGET) --elf $< --signature$(patsubst %.elf, %.signature.output, $<) --output sig.txt
57-
5820
check: $(BINS)
5921
./emu-rv32i test1
6022

0 commit comments

Comments
 (0)