Trap trying to build non-existent files

Fixes the usual infinite loop
This commit is contained in:
ISSOtm
2021-03-14 12:22:48 +01:00
parent 2d8fb4e93d
commit 5a58d19f7d

View File

@@ -103,6 +103,7 @@ endif
# #
################################################
# By default, asset recipes convert files in `res/` into other files in `res/`
# This line causes assets not found in `res/` to be also looked for in `src/res/`
# "Source" assets can thus be safely stored there without `make clean` removing them
@@ -112,3 +113,8 @@ VPATH := $(SRCDIR)
# Compressor script requires Python 3
$(RESDIR)/%.pb16: $(SRCDIR)/tools/pb16.py $(RESDIR)/%
$^ $@
# Catch non-existent files
# KEEP THIS LAST!!
%:
@false