Skip to content
Snippets Groups Projects
Commit 103cb8e1 authored by zhaochaoyi's avatar zhaochaoyi
Browse files

temp Tue Mar 1 10:19:40 AM CST 2022

parent b11703af
No related branches found
No related tags found
No related merge requests found
......@@ -39,13 +39,13 @@ syntax-c: $(YFILE)
-include $(patsubst %.o, %.d, $(OBJS))
# 定义的一些伪目标
.PHONY: clean test
test: parser
./parser ../Test/test1.cmm
./parser ../Test/test2.cmm
@rm *.o
# 定义的一些伪目标
.PHONY: clean test
clean:
rm -f parser lex.yy.c syntax.tab.c syntax.tab.h syntax.output
rm -f $(OBJS) $(OBJS:.o=.d)
......
......@@ -33,7 +33,7 @@ syntax-c: $(YFILE)
YYCFILE = $(shell find ./ -name *.yy.c)
ifeq ($(file),all)
TESTFILE = $(shell find ../Test/ -name "*.cmm")
TESTFILE = $(shell find ../ -name "*.cmm")
else
ifeq ($(file),)
file = 1
......
File moved
File moved
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment