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 641B

1234567891011121314151617181920212223
  1. COMPILATOR_FOLDER = compilator-2000
  2. CROSS_ASSEMBLER = crossassemblor-2000
  3. all: compilateur cross_assembleur
  4. compilateur: $(COMPILATOR_FOLDER)
  5. make -C $(COMPILATOR_FOLDER) compilateur
  6. cp $(COMPILATOR_FOLDER)/compilateur compilateur
  7. cross_assembleur: $(CROSS_ASSEMBLER)
  8. make cross_assembleur -C $(CROSS_ASSEMBLER)
  9. cp $(CROSS_ASSEMBLER)/cross_assembleur cross_assembleur
  10. clean:
  11. rm -f cross_assembleur compilateur
  12. make -C $(COMPILATOR_FOLDER) clean
  13. make -C $(CROSS_ASSEMBLER) clean
  14. test.asm: compilateur test.c
  15. ./compilateur test.asm < test.c
  16. test_cross_bin.txt: cross_assembleur test.asm
  17. ./cross_assembleur test_cross < test.asm