mirror of https://github.com/pret/pokecrystal.git
Merge pull request #566 from luckytyphlosion/master
Refactor .gitattributes and .gitignore
This commit is contained in:
commit
c323f9ddd1
|
@ -1,11 +1,34 @@
|
||||||
# No monkey business with line endings
|
# Auto detect text files and perform LF normalization
|
||||||
* -text
|
* text eol=lf
|
||||||
|
|
||||||
# hexdump binary files
|
# Explicitly declare text files you want to always be normalized and converted
|
||||||
|
# to native line endings on checkout.
|
||||||
|
|
||||||
|
# files part of the build
|
||||||
|
*.asm text
|
||||||
|
*.pal text
|
||||||
|
*.link text
|
||||||
|
*.txt text
|
||||||
|
|
||||||
|
# extra files
|
||||||
|
*.awk text
|
||||||
|
*.c text
|
||||||
|
*.h text
|
||||||
|
*.md text
|
||||||
|
*.py text
|
||||||
|
*.sh text
|
||||||
|
*.sha1 text
|
||||||
|
|
||||||
|
# Denote all files that are truly binary and should not be modified.
|
||||||
*.png binary diff=hex
|
*.png binary diff=hex
|
||||||
|
*.lz.* binary diff=hex
|
||||||
|
*.bin binary diff=hex
|
||||||
|
*.blk binary diff=hex
|
||||||
|
*.rle binary diff=hex
|
||||||
|
*.attrmap binary diff=hex
|
||||||
|
*.tilemap binary diff=hex
|
||||||
|
|
||||||
|
# these are generated but just in case
|
||||||
*.lz binary diff=hex
|
*.lz binary diff=hex
|
||||||
*.2bpp binary diff=hex
|
*.2bpp binary diff=hex
|
||||||
*.1bpp binary diff=hex
|
*.1bpp binary diff=hex
|
||||||
*.bin binary diff=hex
|
|
||||||
*.blk binary diff=hex
|
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*.sgm
|
*.sgm
|
||||||
*.sav
|
*.sav
|
||||||
*.rtc
|
*.rtc
|
||||||
|
*.sn*
|
||||||
|
|
||||||
# rgbds extras
|
# rgbds extras
|
||||||
*.map
|
*.map
|
||||||
|
@ -39,8 +40,8 @@ pokecrystal.txt
|
||||||
*.2bpp
|
*.2bpp
|
||||||
*.1bpp
|
*.1bpp
|
||||||
*.lz
|
*.lz
|
||||||
*.pal
|
|
||||||
*.animated.tilemap
|
*.animated.tilemap
|
||||||
gfx/pokemon/*/bitmask.asm
|
gfx/pokemon/*/bitmask.asm
|
||||||
gfx/pokemon/*/frames.asm
|
gfx/pokemon/*/frames.asm
|
||||||
!gfx/pokemon/*/shiny.pal
|
!gfx/pokemon/unown/bitmask.asm
|
||||||
|
!gfx/pokemon/unown/frames.asm
|
8
Makefile
8
Makefile
|
@ -33,7 +33,7 @@ crystal11_obj := $(crystal_obj:.o=11.o)
|
||||||
### Build targets
|
### Build targets
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.PHONY: all crystal crystal11 clean compare tools
|
.PHONY: all crystal crystal11 clean compare tools tidy
|
||||||
.SECONDEXPANSION:
|
.SECONDEXPANSION:
|
||||||
.PRECIOUS:
|
.PRECIOUS:
|
||||||
.SECONDARY:
|
.SECONDARY:
|
||||||
|
@ -43,6 +43,12 @@ crystal: pokecrystal.gbc
|
||||||
crystal11: pokecrystal11.gbc
|
crystal11: pokecrystal11.gbc
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
|
||||||
|
find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" \) -delete
|
||||||
|
find gfx/pokemon -mindepth 1 ! -path "gfx/pokemon/unown/*" \( -name "bitmask.asm" -o -name "frames.asm" -o -name "front.animated.tilemap" -o -name "front.dimensions" \) -delete
|
||||||
|
$(MAKE) clean -C tools/
|
||||||
|
|
||||||
|
tidy:
|
||||||
rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
|
rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
|
||||||
$(MAKE) clean -C tools/
|
$(MAKE) clean -C tools/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue