summaryrefslogtreecommitdiffstats
path: root/ksokoban/levels/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ksokoban/levels/Makefile.am')
-rw-r--r--ksokoban/levels/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/ksokoban/levels/Makefile.am b/ksokoban/levels/Makefile.am
new file mode 100644
index 00000000..d0ed02a2
--- /dev/null
+++ b/ksokoban/levels/Makefile.am
@@ -0,0 +1,11 @@
+
+noinst_DATA = data.c
+
+data.c: ../images/bin2c level.data
+ ../images/bin2c "" $(srcdir)/level.data
+
+../images/bin2c: $(srcdir)/../images/bin2c.c
+ (cd ../images && $(MAKE) bin2c)
+
+CLEANFILES=data.c
+EXTRA_DIST=level.data