]> git.localhorst.tv Git - l2e.git/commitdiff
added make target for data
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 15 Sep 2012 18:47:17 +0000 (20:47 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 24 Feb 2013 21:33:58 +0000 (22:33 +0100)
makefile.defs [new file with mode: 0644]
makefile.targets [new file with mode: 0644]

diff --git a/makefile.defs b/makefile.defs
new file mode 100644 (file)
index 0000000..1d6cb97
--- /dev/null
@@ -0,0 +1,20 @@
+L2_SRCS := \
+../test-data/constants.l2s \
+../test-data/ikaris.l2s \
+../test-data/items.l2s \
+../test-data/spells.l2s \
+../test-data/test.l2s
+
+L2_OBJS := \
+../test-data/constants.l2o \
+../test-data/ikaris.l2o \
+../test-data/items.l2o \
+../test-data/spells.l2o \
+../test-data/test.l2o
+
+../test-data/%.l2o: ../test-data/%.l2s
+       @echo 'Building file: $<'
+       @echo 'Invoking: L2E Compiler'
+       ./l2e -o "$@" "$<"
+       @echo 'Finished building: $<'
+       @echo ' '
diff --git a/makefile.targets b/makefile.targets
new file mode 100644 (file)
index 0000000..01a9928
--- /dev/null
@@ -0,0 +1 @@
+data: $(L2_OBJS)