mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-06 16:15:24 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
38
tools/Makefile
Normal file
38
tools/Makefile
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
.PHONY: all clean
|
||||
|
||||
CC := gcc
|
||||
CFLAGS := -O3 -flto -std=c11 -Wall -Wextra -pedantic
|
||||
|
||||
tools := \
|
||||
bpp2png \
|
||||
lzcomp \
|
||||
gfx \
|
||||
make_patch \
|
||||
png_dimensions \
|
||||
pokemon_animation \
|
||||
pokemon_animation_graphics \
|
||||
scan_includes \
|
||||
stadium
|
||||
|
||||
all: $(tools)
|
||||
@:
|
||||
|
||||
clean:
|
||||
$(RM) $(tools)
|
||||
|
||||
gfx: common.h
|
||||
png_dimensions: common.h
|
||||
pokemon_animation: common.h
|
||||
pokemon_animation_graphics: common.h
|
||||
scan_includes: common.h
|
||||
stadium: common.h
|
||||
|
||||
bpp2png: bpp2png.c lodepng/lodepng.c common.h lodepng/lodepng.h
|
||||
$(CC) $(CFLAGS) -o $@ bpp2png.c lodepng/lodepng.c
|
||||
|
||||
lzcomp: CFLAGS += -Wno-strict-overflow -Wno-sign-compare
|
||||
lzcomp: $(wildcard lz/*.c) $(wildcard lz/*.h)
|
||||
$(CC) $(CFLAGS) -o $@ lz/*.c
|
||||
|
||||
%: %.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
Loading…
Add table
Add a link
Reference in a new issue