Skip to content

Commit

Permalink
convert tilemap csv using convbin for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoconlechuga committed Sep 18, 2023
1 parent 3428df0 commit cc7e8d5
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 68 deletions.
7 changes: 7 additions & 0 deletions examples/library_examples/graphx/tilemap/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ COMPRESSED = NO
CFLAGS = -Wall -Wextra -Oz
CXXFLAGS = -Wall -Wextra -Oz

EXTRA_C_SOURCES = src/tilemap/tilemap.c

# ----------------------------

include $(shell cedev-config --makefile)

# rule to convert CSV tilemap to C source file
src/tilemap/tilemap.c: src/tilemap/tilemap.csv
@convbin -j csv -i $< -k c -o $@ -n tilemap_map

28 changes: 0 additions & 28 deletions examples/library_examples/graphx/tilemap/src/tilemap/tilemap.c

This file was deleted.

7 changes: 7 additions & 0 deletions examples/library_examples/graphx/tilemap_appvar/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ COMPRESSED = NO
CFLAGS = -Wall -Wextra -Oz
CXXFLAGS = -Wall -Wextra -Oz

EXTRA_C_SOURCES = src/tilemap/tilemap.c

# ----------------------------

include $(shell cedev-config --makefile)

# rule to convert CSV tilemap to C source file
src/tilemap/tilemap.c: src/tilemap/tilemap.csv
@convbin -j csv -i $< -k c -o $@ -n tilemap_map

This file was deleted.

7 changes: 7 additions & 0 deletions examples/library_examples/graphx/tilemap_compressed/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ COMPRESSED = NO
CFLAGS = -Wall -Wextra -Oz
CXXFLAGS = -Wall -Wextra -Oz

EXTRA_C_SOURCES = src/tilemap/tilemap.c

# ----------------------------

include $(shell cedev-config --makefile)

# rule to convert CSV tilemap to C source file
src/tilemap/tilemap.c: src/tilemap/tilemap.csv
@convbin -j csv -i $< -k c -c zx7 -o $@ -n tilemap_map_compressed

This file was deleted.

0 comments on commit cc7e8d5

Please sign in to comment.