Generate fox32rom.h dynamically
This commit is contained in:
parent
e80d4cdb3b
commit
8fcf8fb03d
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,4 +1,9 @@
|
||||||
**/.vscode/
|
**/.vscode/
|
||||||
|
|
||||||
|
fox32.rom
|
||||||
|
fox32rom.h
|
||||||
|
|
||||||
fox32
|
fox32
|
||||||
|
|
||||||
fox32.exe
|
fox32.exe
|
||||||
SDL2.dll
|
SDL2.dll
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -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
43694
fox32rom.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user