ysyx-workbench/nemu/tests/Makefile
tracer-ysyx 20bf8669d7 > 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
 01:11:44  up 1 day  1:27,  2 users,  load average: 1.55, 1.68, 1.74
2024-01-13 01:11:44 +08:00

5 lines
146 B
Makefile

TEST_SRCS += tests/expr_test.c
$(OBJ_DIR)/%: %.c $(OBJS)
@echo + CC $<
@$(CC) $(CFLAGS) -Wl,-e,test_main -o $@ $^ $(LIBS) $(LDFLAGS) $(CFLGAS)