From 8fd89c4f4228fcd8b7cae25c4d162e337618050a Mon Sep 17 00:00:00 2001 From: Quey-Liang Kao Date: Wed, 4 Jan 2017 00:04:45 +0800 Subject: Fixes in the root makefile Each cd command in the targets software, software_clean, and dasm is unnecessary. Also, fixes from make to $(MAKE) help the readability of build/dry-run output. --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ab02199..0515511 100644 --- a/Makefile +++ b/Makefile @@ -90,15 +90,12 @@ PROGRAM_ELF = $(srcdir)/software/$(PROGRAM)/$(PROGRAM) .PHONY: software software: - cd $(PROGRAM_DIR);\ - make + $(MAKE) -C $(PROGRAM_DIR) software_clean: - cd $(PROGRAM_DIR);\ - make clean + $(MAKE) -C $(PROGRAM_DIR) clean dasm: software - cd $(PROGRAM_DIR); \ $(toolchain_dest)/bin/riscv32-unknown-elf-objdump -D $(PROGRAM_ELF) ############################################################# -- cgit v1.2.3