mirror of
https://github.com/pret/pmd-sky.git
synced 2026-03-21 17:25:15 -05:00
Get files list from file instead of writing to it
This commit is contained in:
parent
9e7365b5ed
commit
b637298df0
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -27,6 +27,7 @@ sub/build/**
|
|||
*.d
|
||||
*.o
|
||||
*.sbin
|
||||
*.tmp
|
||||
|
||||
# MacOS garbage
|
||||
.DS_Store
|
||||
|
|
|
|||
8
Makefile
8
Makefile
|
|
@ -50,17 +50,11 @@ $(NEF): libsyscall
|
|||
libsyscall:
|
||||
$(MAKE) -C lib/syscall all install INSTALL_PREFIX=$(abspath $(WORK_DIR)/$(BUILD_DIR)) GAME_CODE=$(GAME_CODE)
|
||||
|
||||
NITROFS_FILES_FILE := $(BUILD_DIR)/nitrofs_files.txt
|
||||
|
||||
# There are too many data files, exceeding Windows's command length limit. Write the file list to a file to get around this limit.
|
||||
nitrofs_files_file:
|
||||
echo "NITROFS_FILES=" $(NITROFS_FILES:files/%=%) > $(NITROFS_FILES_FILE)
|
||||
|
||||
$(BUILD_DIR)/component.files: main ;
|
||||
|
||||
$(HEADER_TEMPLATE): ;
|
||||
|
||||
$(ROM): $(ROMSPEC) tools filesystem main sub $(BANNER) nitrofs_files_file
|
||||
$(ROM): $(ROMSPEC) tools filesystem main sub $(BANNER)
|
||||
$(WINE) $(MAKEROM) $(MAKEROM_FLAGS) -DBUILD_DIR=$(BUILD_DIR) -M$(NITROFS_FILES_FILE) -DTITLE_NAME="$(TITLE_NAME)" -DBNR="$(BANNER)" -DHEADER_TEMPLATE="$(HEADER_TEMPLATE)" $< $@
|
||||
$(FIXROM) $@ --secure-crc $(SECURE_CRC) --game-code $(GAME_CODE)
|
||||
ifeq ($(COMPARE),1)
|
||||
|
|
|
|||
8611
filesystem.mk
8611
filesystem.mk
File diff suppressed because it is too large
Load Diff
1
nitrofs_files.txt
Normal file
1
nitrofs_files.txt
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user