Clean
This commit is contained in:
parent
3a897af896
commit
a72ac5ecba
1 changed files with 3 additions and 3 deletions
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue