-# WXXT base directory
-WXBASEDIR=@WXBASEDIR@
+#
+# File: makefile.unx
+# Author: Julian Smart
+# Created: 1998
+# Updated:
+# Copyright: (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for Tex2RTF (Unix)
-# set the OS type for compilation
-OS=@OS@
-# compile a library only
-RULE=bin
+APPEXTRADEFS=-DNO_GUI
+# comment out if you want GUI version of tex2rtf...
-# define library name
-BIN_TARGET=tex2rtf
-# define library sources
-BIN_SRC=\
-htmlutil.cpp \
-maths.cpp \
-readshg.cpp \
-rtfutils.cpp \
-table.cpp \
-tex2any.cpp \
-tex2rtf.cpp \
-texutils.cpp \
-xlputils.cpp
+top_srcdir = @top_srcdir@/..
+top_builddir = ../../..
+program_dir = utils/tex2rtf/src
-#define library objects
-BIN_OBJ=\
-htmlutil.o \
-maths.o \
-readshg.o \
-rtfutils.o \
-table.o \
-tex2any.o \
-tex2rtf.o \
-texutils.o \
-xlputils.o
+PROGRAM=tex2rtf
-# additional things needed to link
-BIN_LINK=
+OBJECTS = tex2rtf.o tex2any.o texutils.o rtfutils.o xlputils.o htmlutil.o readshg.o table.o
+DEPFILES=tex2rtf.d tex2any.d texutils.d rtfutils.d xlputils.d htmlutil.d readshg.d table.d
-# additional things needed to compile
-ADD_COMPILE=
+include ../../../src/makeprog.env
-# include the definitions now
-include ../../../../template.mak
+-include $(DEPFILES)