> 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 16:01:06 up 16:16, 2 users, load average: 0.51, 0.45, 0.54
This commit is contained in:
parent
affc1c5ff9
commit
1ecdd3e6e2
2 changed files with 4 additions and 10 deletions
|
@ -40,16 +40,6 @@ $(OBJ_DIR)/%.o: %.cc
|
|||
@$(CXX) $(CFLAGS) $(CXXFLAGS) -c -o $@ $<
|
||||
$(call call_fixdep, $(@:.o=.d), $@)
|
||||
|
||||
$(OBJ_DIR)/%-lex.l: %-exp.y
|
||||
@echo + YACC $<
|
||||
@mkdir -p $(dir $@)
|
||||
@$(YACC) $(YFLAGS) -H $(<:.y=.h) -o $@ $<
|
||||
|
||||
$(OBJ_DIR)/%.c: %-lex.l
|
||||
@echo + LEX $<
|
||||
@mkdir -p $(dir $@)
|
||||
@$(LEX) $(LFLAGS) -o $@ $<
|
||||
|
||||
# Depencies
|
||||
-include $(OBJS:.o=.d)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue