Skip to content

Commit

Permalink
Fix very minor Makefile issue in spidermonkey clean target (manugar…
Browse files Browse the repository at this point in the history
  • Loading branch information
mzpqnxow committed Sep 5, 2021
1 parent 962e64e commit 820df7c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/spidermonkey/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
# Include config.mk to get the variable $(OBJDIR).
# We need to create $(OBJDIR) first to be able to build libjs.a alone.

ifneq ($(MAKECMDGOALS),clean)
DEPTH = js/src
include js/src/config.mk
endif
DEPTH = js/src
include js/src/config.mk

jsapi: js-buildstamp

Expand All @@ -40,4 +38,4 @@ js-buildstamp:

clean:
rm -rf js-buildstamp
rm js/src/*.o
rm -rf js/src/$(OBJDIR)

0 comments on commit 820df7c

Please sign in to comment.