Skip to content

Commit

Permalink
fix: ensure make clean works with no submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolitzer committed Jul 28, 2024
1 parent 3d36632 commit ce5e1b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ dependencies.sha256:
@shasum -a 256 $(BUILDDIR)/images/* > $@

clean:
@$(MAKE) -C ../third-party/riscv-arch-test/riscv-target/cartesi clean
@D=../third-party/riscv-arch-test/riscv-target/cartesi; \
if [ -d $$D ]; then $(MAKE) -C $$D clean; fi
@$(MAKE) -C misc clean
@rm -f *.profdata *.profraw *.gcda *.gcov
@rm -rf $(BUILDDIR)
Expand Down

0 comments on commit ce5e1b5

Please sign in to comment.