> 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 17:43:42 up 17:59, 2 users, load average: 0.30, 0.40, 0.43
This commit is contained in:
parent
2e10b2abe0
commit
1ae4b8e87b
3 changed files with 0 additions and 14 deletions
|
@ -42,13 +42,11 @@ $(OBJ_DIR)/%.o: %.cc
|
|||
|
||||
$(OBJ_DIR)/%.tag.c: %.y
|
||||
@echo + YACC $<
|
||||
@echo $@ $<
|
||||
@mkdir -p $(dir $@)
|
||||
@$(YACC) $(YFLAGS) --header=$(<:.y=.h) -o $@ $<
|
||||
|
||||
$(OBJ_DIR)/%.yy.c: %.l $(OBJ_DIR)/%.tag.c
|
||||
@echo + LEX $<
|
||||
@echo $@ $<
|
||||
@mkdir -p $(dir $@)
|
||||
@$(LEX) $(LFLAGS) -o $@ $<
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue