> 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:18:26 up 2 days 11:13, 2 users, load average: 0.57, 0.60, 0.38
This commit is contained in:
parent
31aceb7bc9
commit
79f9a57165
2 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,6 @@ 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: all-tests
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
TEST_SRCS += tests/expr_test.c
|
||||
YACC = bison
|
||||
INC_PATH += $(NEMU_HOME)/src/isa/$(GUEST_ISA)/local-include
|
||||
|
||||
$(OBJ_DIR)/%: %.c $(TEST_OBJS) app
|
||||
@mkdir -p $(dir $@)
|
||||
|
|
Loading…
Reference in a new issue