diff options
author | mid-kid <esteve.varela@gmail.com> | 2021-11-04 21:07:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 14:07:26 -0700 |
commit | 681ca68ac96e8d39f49eb2c9f42e5c1e1041f5e0 (patch) | |
tree | 52a507350ab3fb83d1207b7ccf8266693c2f5a24 /tools/gbagfx/Makefile | |
parent | f1394cbb03aa9fb1c928c6de1648ef459d2bf66b (diff) |
Disassemble some more tables and the first graphic (#71)
* Sync tools/ directory with pokeemerald
We really ought to have a central repository for this mess
* Make incremental builds faster
Scientists hate him!
He made NODEP disappear with this ONE SIMPLE TRICK!!!
Want to know more? -> __click here__ <-
* Disassemble some more tables and the first graphic
Diffstat (limited to 'tools/gbagfx/Makefile')
-rw-r--r-- | tools/gbagfx/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/gbagfx/Makefile b/tools/gbagfx/Makefile index f063841..b4244aa 100644 --- a/tools/gbagfx/Makefile +++ b/tools/gbagfx/Makefile @@ -6,15 +6,21 @@ LIBS = -lpng -lz SRCS = main.c convert_png.c gfx.c jasc_pal.c lz.c rl.c util.c font.c huff.c +ifeq ($(OS),Windows_NT) +EXE := .exe +else +EXE := +endif + .PHONY: all clean -all: gbagfx +all: gbagfx$(EXE) @: -gbagfx-debug: $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h rl.h util.h font.h +gbagfx-debug$(EXE): $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h rl.h util.h font.h $(CC) $(CFLAGS) -DDEBUG $(SRCS) -o $@ $(LDFLAGS) $(LIBS) -gbagfx: $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h rl.h util.h font.h +gbagfx$(EXE): $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h rl.h util.h font.h $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS) clean: |