diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2020-04-15 20:20:40 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2020-04-15 20:20:40 -0400 |
commit | 09d866602ecc76fdc5e9be9e3bd1ae0b8547ff13 (patch) | |
tree | 312c771cf265503718f3e8c2eb42b92708c55f36 /Makefile | |
parent | b661c7888c57280a19801b320cf7860e6555f1d3 (diff) |
ROM titles
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -55,6 +55,7 @@ CFLAGS = -O4,p -proc arm946e -thumb -fp soft -lang c -Cpp_exceptions off TOOLS_DIR = tools SHA1SUM = sha1sum JSONPROC = $(TOOLS_DIR)/jsonproc/jsonproc +GFX = $(TOOLS_DIR)/nitrogfx/nitrogfx TOOLDIRS = $(filter-out $(TOOLS_DIR)/mwccarm,$(wildcard $(TOOLS_DIR)/*)) TOOLBASE = $(TOOLDIRS:$(TOOLS_DIR)/%=%) @@ -107,6 +108,20 @@ $(ROM): $(ELF) # Make sure build directory exists before compiling anything DUMMY != mkdir -p $(ALL_DIRS) +%.4bpp: %.png + $(GFX) $< $@ + +%.gbapal: %.png + $(GFX) $< $@ + +%.gbapal: %.pal + $(GFX) $< $@ + +%.lz: % + $(GFX) $< $@ + +$(BUILD_DIR)/asm/icon.o: graphics/icon.4bpp graphics/icon.gbapal + ### Debug Print ### print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true |