From 3aabe9c79942736c1f7ebbfac3dee45927e39438 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sun, 24 Apr 2022 13:13:17 +0200 Subject: [PATCH] Move randtilegen to test/gfx subdir It's tool-specific, so categorize it where it belongs --- Makefile | 2 +- test/.gitignore | 1 - test/gfx/.gitignore | 1 + test/{ => gfx}/randtilegen.c | 0 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 test/gfx/.gitignore rename test/{ => gfx}/randtilegen.c (100%) diff --git a/Makefile b/Makefile index bc88d6ab..f57273b6 100644 --- a/Makefile +++ b/Makefile @@ -128,7 +128,7 @@ rgbfix: ${rgbfix_obj} rgbgfx: ${rgbgfx_obj} $Q${CXX} ${REALLDFLAGS} ${PNGLDFLAGS} -o $@ ${rgbgfx_obj} ${REALCXXFLAGS} -x c++ src/version.c ${PNGLDLIBS} -test/randtilegen: test/randtilegen.c +test/gfx/randtilegen: test/gfx/randtilegen.c $Q${CC} ${REALLDFLAGS} ${PNGLDFLAGS} -o $@ $^ ${REALCFLAGS} -Wno-vla ${PNGCFLAGS} ${PNGLDLIBS} # Rules to process files diff --git a/test/.gitignore b/test/.gitignore index 2d633e44..32dd40f7 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1,4 +1,3 @@ -/randtilegen /pokecrystal/ /pokered/ /ucity/ diff --git a/test/gfx/.gitignore b/test/gfx/.gitignore new file mode 100644 index 00000000..ecf476f6 --- /dev/null +++ b/test/gfx/.gitignore @@ -0,0 +1 @@ +/randtilegen diff --git a/test/randtilegen.c b/test/gfx/randtilegen.c similarity index 100% rename from test/randtilegen.c rename to test/gfx/randtilegen.c