diff options
| author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2019-08-15 16:42:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-15 16:42:37 -0500 |
| commit | e751d33afb9410d63fc7b5c8da211a8d62eaeb21 (patch) | |
| tree | 016da807f9f85a9dad91c1b091295d5c68375701 /tools/gbagfx/Makefile | |
| parent | a5d8669840e5cb411f03929118608cb79ee026ad (diff) | |
| parent | f3bd844f5622fad017d1752734ab1e128006ea7b (diff) | |
Merge pull request #16 from PikalaxALT/master
Update binaries again; add build and install scripts
Diffstat (limited to 'tools/gbagfx/Makefile')
| -rw-r--r-- | tools/gbagfx/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/gbagfx/Makefile b/tools/gbagfx/Makefile new file mode 100644 index 0000000..339585b --- /dev/null +++ b/tools/gbagfx/Makefile @@ -0,0 +1,18 @@ +CC = gcc + +CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK + +LIBS = -lpng -lz + +SRCS = main.c convert_png.c gfx.c jasc_pal.c lz.c rl.c util.c font.c + +.PHONY: all clean + +all: gbagfx + @: + +gbagfx: $(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: + $(RM) gbagfx gbagfx.exe |
