Makefile 373 B

1234567891011121314151617181920212223242526
  1. objects = executor asm compiler
  2. dirs:=mace assembler acse tests
  3. all : bin $(objects)
  4. bin :
  5. mkdir -p bin
  6. tests :
  7. cd ./tests && $(MAKE)
  8. executor :
  9. cd ./mace && $(MAKE)
  10. asm :
  11. cd ./assembler && $(MAKE)
  12. compiler :
  13. cd ./acse && $(MAKE)
  14. clean :
  15. for i in $(dirs) ; do cd $$i && $(MAKE) clean; cd .. ; done
  16. rm -rf bin
  17. .PHONY : all clean tests executor asm compiler