pokeruby/tools/gbagfx/Makefile
ProjectRevoTPP 14dcee450d Potential fix for Issue #1 (#10)
replace all-zero incbins with .space and build fixes for certain Linux configurations
2016-06-17 05:00:47 -07:00

16 lines
316 B
Makefile

CC = gcc
CFLAGS = -Wall -Wextra -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK
LIBS = -lz -lpng
SRCS = main.c convert_png.c gfx.c jasc_pal.c lz.c util.c font.c
.PHONY: clean
gbagfx: $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h util.h font.h
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LIBS)
clean:
$(RM) gbagfx gbagfx.exe