Updated makefile

This commit is contained in:
François Autin
2023-03-08 13:02:03 +01:00
parent f1a03b96a3
commit 765f5b8328
7 changed files with 72 additions and 9 deletions

View File

@ -6,8 +6,16 @@ include $(TOPDIR)/Makefile.config
#
dumps:
$(MAKE) dumps -C riscv_instructions/
mkdir -p ${TOPDIR}/target
find . -name '*.dump' -exec mv {} ${TOPDIR}/target \;
mkdir -p ${TOPDIR}/target/dumps/
find . -name '*.dump' -exec mv {} ${TOPDIR}/target/dumps/ \;
user_lib:
$(MAKE) -C userlib/
tests: user_lib
$(MAKE) tests -C riscv_instructions/
mkdir -p ${TOPDIR}/target/guac/
find . -name '*.guac' -exec mv {} ${TOPDIR}/target/guac/ \;
clean:
rm -rf $(TOPDIR)/target