Skip to content

Commit

Permalink
Makefile: add clean-cross task for cross compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus committed Aug 21, 2020
1 parent 61538fa commit e35d5d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ ifneq ($(USE_LIBBACKTRACE), 0)
deps: | libbacktrace
endif

clean-cross:
+ [[ -e vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc ]] && $(MAKE) -C vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc clean $(HANDLE_OUTPUT) || true
+ [[ -e vendor/nim-nat-traversal/vendor/libnatpmp ]] && $(MAKE) -C vendor/nim-nat-traversal/vendor/libnatpmp clean $(HANDLE_OUTPUT) || true

#- deletes and recreates "beacon_chain.nims" which on Windows is a copy instead of a proper symlink
update: | update-common
rm -f beacon_chain.nims && \
Expand Down

0 comments on commit e35d5d1

Please sign in to comment.