> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 10:25:54 up 14:25,  2 users,  load average: 0.09, 0.11, 0.09
This commit is contained in:
tracer-ics2023
2024-08-18 10:25:55 +08:00
committed by zzy
parent 1b992922cd
commit f3867b10e7

View File

@ -32,6 +32,7 @@ OBJS = $(SRCS:%.c=$(OBJ_DIR)/%.o) $(CXXSRC:%.cc=$(OBJ_DIR)/%.o)
$(OBJ_DIR)/%.o: %.c
@echo + CC $<
@mkdir -p $(dir $@)
@echo + + + CFLAGS = $(CFLAGS)
@$(CC) $(CFLAGS) -c -o $@ $<
$(call call_fixdep, $(@:.o=.d), $@)