Clean
这个提交包含在:
父节点
3a897af896
当前提交
a72ac5ecba
共有 1 个文件被更改,包括 3 次插入 和 3 次删除
6
Makefile
6
Makefile
|
|
@ -7,7 +7,7 @@ default :
|
||||||
### NETTOYAGE ###
|
### NETTOYAGE ###
|
||||||
###########################
|
###########################
|
||||||
clean : clean_Symboles clean_Instructions clean_Lex_Yacc clean_Fonctions
|
clean : clean_Symboles clean_Instructions clean_Lex_Yacc clean_Fonctions
|
||||||
@rm -f rondoudou_gcc
|
@rm -f compiler
|
||||||
@rm -f output.txt
|
@rm -f output.txt
|
||||||
|
|
||||||
clean_Symboles:
|
clean_Symboles:
|
||||||
|
|
@ -31,7 +31,7 @@ clean_Lex_Yacc:
|
||||||
### COMPILATION ###
|
### COMPILATION ###
|
||||||
###########################
|
###########################
|
||||||
build : clean build_Symboles build_Instructions build_Lex_Yacc build_Fonctions
|
build : clean build_Symboles build_Instructions build_Lex_Yacc build_Fonctions
|
||||||
gcc Lex_Yacc/as.tab.o Lex_Yacc/lex.yy.o Tables/Instructions/tab_instruc.o Tables/Symboles/table_symboles.o Tables/Fonctions/tab_fonctions.o -ly -o rondoudou_gcc
|
gcc Lex_Yacc/as.tab.o Lex_Yacc/lex.yy.o Tables/Instructions/tab_instruc.o Tables/Symboles/table_symboles.o Tables/Fonctions/tab_fonctions.o -o compiler
|
||||||
|
|
||||||
build_Symboles: clean_Symboles
|
build_Symboles: clean_Symboles
|
||||||
gcc -c Tables/Symboles/table_symboles.c -o Tables/Symboles/table_symboles.o
|
gcc -c Tables/Symboles/table_symboles.c -o Tables/Symboles/table_symboles.o
|
||||||
|
|
@ -69,7 +69,7 @@ test_Fonctions: build_Fonctions
|
||||||
Tables/Fonctions/test
|
Tables/Fonctions/test
|
||||||
|
|
||||||
test: build
|
test: build
|
||||||
cat Fichiers_Tests/progC | ./rondoudou_gcc
|
cat Fichiers_Tests/progC | ./compiler
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用