Modification Makefile
This commit is contained in:
parent
6abe019eca
commit
3fd5d3fbef
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -12,7 +12,7 @@ ifeq ($(QUOI),compilateur)
|
||||||
@echo "Compilation du compilateur"
|
@echo "Compilation du compilateur"
|
||||||
$(MAKE) -C Compilateur build
|
$(MAKE) -C Compilateur build
|
||||||
@echo "Compilation terminée"
|
@echo "Compilation terminée"
|
||||||
else ifeq ($(QUOI),cross_asembleur)
|
else ifeq ($(QUOI),cross_assembleur)
|
||||||
@echo "Compilation du CrossAssembleur"
|
@echo "Compilation du CrossAssembleur"
|
||||||
$(MAKE) -C CrossAssembleur build
|
$(MAKE) -C CrossAssembleur build
|
||||||
@echo "Compilation terminée"
|
@echo "Compilation terminée"
|
||||||
|
@ -52,7 +52,8 @@ clean:
|
||||||
exec:
|
exec:
|
||||||
ifeq ($(SOURCE),null)
|
ifeq ($(SOURCE),null)
|
||||||
@echo "USAGE : make exec SOURCE=\"file_name\" QUOI=\"[compile|interprete|interprete_registres|cross_assemble|load|all]\""
|
@echo "USAGE : make exec SOURCE=\"file_name\" QUOI=\"[compile|interprete|interprete_registres|cross_assemble|load|all]\""
|
||||||
else ifeq ($(QUOI),null)
|
else
|
||||||
|
ifeq ($(QUOI),null)
|
||||||
@echo "USAGE : make exec SOURCE=\"file_name\" QUOI=\"[compile|interprete|interprete_registres|cross_assemble|load|all]\""
|
@echo "USAGE : make exec SOURCE=\"file_name\" QUOI=\"[compile|interprete|interprete_registres|cross_assemble|load|all]\""
|
||||||
else
|
else
|
||||||
ifeq ($(QUOI),compile)
|
ifeq ($(QUOI),compile)
|
||||||
|
@ -97,5 +98,6 @@ else
|
||||||
@echo "USAGE : make exec SOURCE=\"file_name\" QUOI=\"[compile|interprete|interprete_registres|cross_assemble|load|all]\""
|
@echo "USAGE : make exec SOURCE=\"file_name\" QUOI=\"[compile|interprete|interprete_registres|cross_assemble|load|all]\""
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue