summaryrefslogtreecommitdiff
path: root/tools/gbagfx
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 13:29:02 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 13:29:02 -0500
commitcc5db41f30708c1cc2d33a46879c96a9404764a3 (patch)
treed59ba2fd880b8eb47ab7e1a5885d067b028598ff /tools/gbagfx
parentaad94c34334ee44f1298175df38f14dc27ae5fb8 (diff)
Revert multiple source change commits for rebase.
Diffstat (limited to 'tools/gbagfx')
-rw-r--r--tools/gbagfx/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/tools/gbagfx/Makefile b/tools/gbagfx/Makefile
index b4244aa8d..f0638414d 100644
--- a/tools/gbagfx/Makefile
+++ b/tools/gbagfx/Makefile
@@ -6,21 +6,15 @@ 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$(EXE)
+all: gbagfx
@:
-gbagfx-debug$(EXE): $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h rl.h util.h font.h
+gbagfx-debug: $(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$(EXE): $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h rl.h util.h font.h
+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: