fix paths to sound data with EXTERNAL_DATA=1

This commit is contained in:
fgsfds 2020-06-20 18:05:45 +03:00
parent 59cbe0ab70
commit 7331fab8d8

View file

@ -930,7 +930,7 @@ $(SOUND_BIN_DIR)/%.o: $(SOUND_BIN_DIR)/%.s
ifeq ($(EXTERNAL_DATA),1) ifeq ($(EXTERNAL_DATA),1)
$(SOUND_BIN_DIR)/%.inc.c: $(SOUND_BIN_DIR)/% $(SOUND_BIN_DIR)/%.inc.c: $(SOUND_BIN_DIR)/%
$(ZEROTERM) "$(patsubst %.inc.c,%,$^)" | hexdump -v -e '1/1 "0x%X,"' > $@ $(ZEROTERM) "$(patsubst $(BUILD_DIR)/%,%,$^)" | hexdump -v -e '1/1 "0x%X,"' > $@
else else