summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d19e956..ffc2e77 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)
#############################################################