sovereignx/tools/gbagfx/Makefile

16 lines
270 B
Makefile
Raw Normal View History

2015-11-14 05:57:22 +00:00
CC = gcc
CFLAGS = -Wall -std=c11 -O2
LIBS = -lz -lpng
SRCS = main.c convert_png.c gfx.c jasc_pal.c lz.c util.c
.PHONY: clean
gbagfx: $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h util.h
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LIBS)
clean:
$(RM) gbagfx gbagfx.exe