aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/client/makefile b/client/makefile
index 70b2b9fd..144fd0f1 100644
--- a/client/makefile
+++ b/client/makefile
@@ -14,15 +14,22 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
-.PHONY: assets clean all locales
+ifdef GODOT
+GODOT := $(GODOT)
+else
+GODOT := godot
+endif
+
+.PHONY: assets clean all
all: .godot/import-finished icons/adaptive-background.png icons/adaptive-foreground.png
clean:
rm -f menu/book/book_*.webp
rm -f icons/adaptive-foreground.png icons/adaptive-background.png
+ rm .godot/import-finished
-.godot/import-finished: $(LOCALES)
- if test ! -e $@; then godot --headless --import project.godot; fi
+.godot/import-finished:
+ if test ! -e $@; then $(GODOT) --headless --import project.godot; fi
touch $@
icons/adaptive-background.png: