> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.71 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jan 5 14:18:41 UTC 2024 x86_64 GNU/Linux 22:17:14 up 2 days 11:12, 2 users, load average: 1.39, 0.69, 0.39
This commit is contained in:
parent
f5cdb499b8
commit
c995a80ce8
7 changed files with 815 additions and 4 deletions
|
@ -66,7 +66,8 @@ include $(NEMU_HOME)/tests/Makefile
|
|||
all-tests: TEST_OBJS = $(filter-out $(OBJ_DIR)/src/nemu-main.o, $(OBJS))
|
||||
all-tests: CFLAGS += $(shell pkg-config --cflags check)
|
||||
all-tests: LDFLAGS += $(shell pkg-config --libs check)
|
||||
all-tests: INC_PATH += $(NEMU_HOME)/src/isa/$(GUEST_ISA)/local-include
|
||||
all-tests: $(TEST_SRCS:%.c=$(OBJ_DIR)/%)
|
||||
|
||||
test: $(addprefix $(OBJ_DIR), $(TEST_NAMES))
|
||||
test: all-tests
|
||||
@$(OBJ_DIR)/tests/expr_test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue