> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 02:55:41 up 1 day 3:11, 2 users, load average: 0.95, 0.77, 0.65
This commit is contained in:
parent
70ec0a166a
commit
b97e2bf469
4 changed files with 60 additions and 43 deletions
|
@ -63,6 +63,7 @@ endif
|
|||
.PHONY: test
|
||||
|
||||
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: $(TEST_SRCS:%.c=$(OBJ_DIR)/%)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue