diff options
author | Quey-Liang Kao <s101062801@m101.nthu.edu.tw> | 2017-01-04 00:04:45 +0800 |
---|---|---|
committer | Quey-Liang Kao <s101062801@m101.nthu.edu.tw> | 2017-01-04 00:05:55 +0800 |
commit | 8fd89c4f4228fcd8b7cae25c4d162e337618050a (patch) | |
tree | b195765a7401c0f65f29902b1db58b6ae4d95fe2 /Makefile | |
parent | 61ac13fa908b756adb46bd4cb3cc4061961df0d5 (diff) |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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) ############################################################# |