No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makefile 490B

12345678910111213141516171819202122
  1. default :
  2. @echo "Veuillez choisir une cible : [all | forth | liste | pile | lexer | clean]"
  3. all : forth
  4. clean :
  5. @rm -f *.o */*.o *~ forth_interpretor 2> /dev/null
  6. liste : LISTE/liste.o
  7. pile : PILE/pile.o
  8. lexer : LEXER/lexer.o
  9. forth : forth.o PILE/pile.o LISTE/liste.o LEXER/lexer.o
  10. gcc -Wall LEXER/lexer.o LISTE/liste.o PILE/pile.o forth.o -o forth_interpretor
  11. %.o : %.c
  12. gcc -Wall -c $< -o $@
  13. PILE/pile.o : PILE/pile.h
  14. LISTE/liste.o : LISTE/liste.h
  15. LEXER/lexer.o : LEXER/lexer.h