summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Xia <richardxia@richardxia.com>2017-01-03 12:09:31 -0800
committerGitHub <noreply@github.com>2017-01-03 12:09:31 -0800
commite641c398daa91d896ce37fbb73015c054a4e0b21 (patch)
treeb195765a7401c0f65f29902b1db58b6ae4d95fe2
parent61ac13fa908b756adb46bd4cb3cc4061961df0d5 (diff)
parent8fd89c4f4228fcd8b7cae25c4d162e337618050a (diff)
Merge pull request #37 from NonerKao/master
Fixes in the root makefile
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
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)
#############################################################