aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-12-22 14:53:44 +0200
committerkartofen <mladenovnasko0@gmail.com>2022-12-22 14:53:44 +0200
commit4c9fafc4c126af2466dc6c56b9c952f901a1c726 (patch)
tree16a7590ff005b1e49344836675731e86e2283bd7 /build.sh
parent407e1bdc46fc3b4983aa95b3b270a017d631dc42 (diff)
better tileset configuration
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index a675b7f..a93e242 100755
--- a/build.sh
+++ b/build.sh
@@ -37,7 +37,7 @@ mkdir -p $BIN
mkdir -p $ODIR
mkdir -p $FILES
-gcc -c $SRCD/gen_tiles.c -o $ODIR/gen_tiles.o $FLAGS
+gcc -c $SRCD/gen_tiles.c -o $ODIR/gen_tiles.o $FLAGS -DPATH=files/tilesets
gcc -c $SRCD/ppm.c -o $ODIR/ppm.o $FLAGS
gcc -c $SRCD/tilemap.c -o $ODIR/tilemap.o $FLAGS
gcc -c $SRCD/tiles.c -o $ODIR/tiles.o $FLAGS