Trying to make bin tests files

This commit is contained in:
Quentin Legot
2023-03-28 17:54:05 +02:00
parent c9792d1a1a
commit 7a32aa503c
4 changed files with 27 additions and 3 deletions

View File

@ -1,9 +1,15 @@
TOPDIR=.
include $(TOPDIR)/Makefile.config
all: dumps user_lib tests
#
# Main targets
#
build: user_lib
$(MAKE) build -C riscv_instructions/
dumps:
$(MAKE) dumps -C riscv_instructions/
mkdir -p ${TOPDIR}/target/dumps/
@ -18,4 +24,7 @@ tests: user_lib
find . -name '*.guac' -exec mv {} ${TOPDIR}/target/guac/ \;
clean:
rm -rf $(TOPDIR)/target
$(MAKE) clean -C userlib/
$(MAKE) clean -C riscv_instructions/
$(RM) -rf $(TOPDIR)/target