You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Add a bpp2png
tool to replace gfx.py for converting 1/2bpp to PNG (#889)
This commit is contained in:
@@ -4,6 +4,7 @@ CC := gcc
|
||||
CFLAGS := -O3 -std=c11 -Wall -Wextra -pedantic -Wno-missing-field-initializers
|
||||
|
||||
tools := \
|
||||
bpp2png \
|
||||
lzcomp \
|
||||
gfx \
|
||||
make_patch \
|
||||
@@ -26,7 +27,11 @@ pokemon_animation_graphics: common.h
|
||||
scan_includes: common.h
|
||||
stadium: common.h
|
||||
|
||||
lzcomp: CFLAGS = -O3 -flto -std=c11 -Wall -Wextra -pedantic -Wno-strict-overflow -Wno-sign-compare
|
||||
bpp2png: CFLAGS += -flto
|
||||
bpp2png: bpp2png.c lodepng/lodepng.c common.h lodepng/lodepng.h
|
||||
$(CC) $(CFLAGS) -o $@ bpp2png.c lodepng/lodepng.c
|
||||
|
||||
lzcomp: CFLAGS += -flto -Wno-strict-overflow -Wno-sign-compare
|
||||
lzcomp: $(wildcard lz/*.c) $(wildcard lz/*.h)
|
||||
$(CC) $(CFLAGS) -o $@ lz/*.c
|
||||
|
||||
|
Reference in New Issue
Block a user