> 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
This commit is contained in:
parent
3ccf684730
commit
20bf8669d7
1 changed files with 2 additions and 6 deletions
|
@ -1,9 +1,5 @@
|
|||
TEST_SRCS += tests/expr_test.c
|
||||
|
||||
$(OBJ_DIR)/tests/%.o: tests/%.c
|
||||
$(OBJ_DIR)/%: %.c $(OBJS)
|
||||
@echo + CC $<
|
||||
@$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CFLGAS)
|
||||
|
||||
$(OBJ_DIR)/tests/%: $(OBJ_DIR)/test/%.o $(OBJS)
|
||||
@echo + LD $<
|
||||
@$(LD) -e test_main -o $@ $^ $(LDFLAGS) $(CFLGAS)
|
||||
@$(CC) $(CFLAGS) -Wl,-e,test_main -o $@ $^ $(LIBS) $(LDFLAGS) $(CFLGAS)
|
||||
|
|
Loading…
Reference in a new issue