Skip to content

Commit

Permalink
Makefile: New target 'bootstrapclean' removes in-tree generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Jul 8, 2017
1 parent 3ca3df8 commit 964cbe4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -157,6 +157,9 @@ uninstall:
clean:
$(MAKE) -C src clean

bootstrapclean:
$(MAKE) -C src bootstrapclean

.PHONY: all install clean

##############################################################################
3 changes: 3 additions & 0 deletions src/Makefile
Expand Up @@ -279,6 +279,9 @@ default all: $(TARGET_T)
clean:
$(HOST_RM) $(ALL_RM)

bootstrapclean: clean
$(HOST_RM) $(ALL_GEN)

libbc:
./$(LUAJIT_T) host/genlibbc.lua -o host/buildvm_libbc.h $(LJLIB_C)
$(MAKE) all
Expand Down

0 comments on commit 964cbe4

Please sign in to comment.