12345678910111213141516171819202122 |
- default :
- @echo "Veuillez choisir une cible : [all | forth | liste | pile | lexer | clean]"
-
- all : forth
-
- clean :
- @rm -f *.o */*.o *~ forth_interpretor 2> /dev/null
-
- liste : LISTE/liste.o
- pile : PILE/pile.o
- lexer : LEXER/lexer.o
-
-
- forth : forth.o PILE/pile.o LISTE/liste.o LEXER/lexer.o
- gcc -Wall LEXER/lexer.o LISTE/liste.o PILE/pile.o forth.o -o forth_interpretor
-
- %.o : %.c
- gcc -Wall -c $< -o $@
-
- PILE/pile.o : PILE/pile.h
- LISTE/liste.o : LISTE/liste.h
- LEXER/lexer.o : LEXER/lexer.h
|