]> git.localhorst.tv Git - l2e.git/blobdiff - makefile.defs
added make target for data
[l2e.git] / makefile.defs
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 ' '