Generate fox32rom.h dynamically

This commit is contained in:
Ry 2022-10-26 18:09:36 -07:00
parent e80d4cdb3b
commit 8fcf8fb03d
3 changed files with 10 additions and 43695 deletions

5
.gitignore vendored
View File

@ -1,4 +1,9 @@
**/.vscode/ **/.vscode/
fox32.rom
fox32rom.h
fox32 fox32
fox32.exe fox32.exe
SDL2.dll SDL2.dll

View File

@ -12,7 +12,11 @@ CFILES = src/main.c \
src/mouse.c \ src/mouse.c \
src/screen.c src/screen.c
$(TARGET): $(CFILES) FOX32ROM_IN = fox32.rom
FOX32ROM_OUT = fox32rom.h
$(TARGET): $(CFILES) $(FOX32ROM_IN)
xxd -i -n fox32rom $(FOX32ROM_IN) $(FOX32ROM_OUT)
$(CC) -o $@ $(filter %.c, $^) $(CFLAGS) $(CC) -o $@ $(filter %.c, $^) $(CFLAGS)
clean: clean:

43694
fox32rom.h

File diff suppressed because it is too large Load Diff