summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/tools/castool/castool.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/tools/castool/castool.mak')
-rw-r--r--src/mess/tools/castool/castool.mak38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mess/tools/castool/castool.mak b/src/mess/tools/castool/castool.mak
new file mode 100644
index 00000000000..f1ab2dca051
--- /dev/null
+++ b/src/mess/tools/castool/castool.mak
@@ -0,0 +1,38 @@
+###########################################################################
+#
+# castool.mak
+#
+# MESS castool makefile
+#
+###########################################################################
+
+
+# castool executable name
+CASTOOL = castool$(EXE)
+
+# add path to castool headers
+INCPATH += -I$(SRC)/$(TARGET)/tools/castool
+
+# castool directories
+CASTOOLOBJ = $(MESS_TOOLS)/castool
+
+
+#-------------------------------------------------
+# castool objects
+#-------------------------------------------------
+
+OBJDIRS += \
+ $(CASTOOLOBJ)
+
+CASTOOL_OBJS = \
+ $(CASTOOLOBJ)/main.o \
+
+
+
+#-------------------------------------------------
+# rules to build the castool executable
+#-------------------------------------------------
+
+$(CASTOOL): $(CASTOOL_OBJS) $(FORMATS_LIB) $(LIBUTIL) $(EXPAT) $(ZLIB) $(LIBOCORE)
+ @echo Linking $@...
+ $(LD) $(LDFLAGS) $^ $(LIBS) -o $@