summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/thesaurus/mythes/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/lingucomponent/source/thesaurus/mythes/Makefile b/lingucomponent/source/thesaurus/mythes/Makefile
new file mode 100644
index 000000000000..39d3cf71f9dc
--- /dev/null
+++ b/lingucomponent/source/thesaurus/mythes/Makefile
@@ -0,0 +1,39 @@
+
+CXX=g++
+
+CXXFLAGS= -O2 -Wall -ansi -pedantic -DMYTHES_STANDALONE -I.
+
+LDFLAGS=-L. -lmythes
+
+LIBS=libmythes.a
+
+AR=ar rc
+RANLIB=ranlib
+
+OBJS = mythes.o
+
+all: example
+
+libmythes.a: $(OBJS)
+ $(AR) $@ $(OBJS)
+ -@ ($(RANLIB) $@ || true) >/dev/null 2>&1
+
+example: example.o $(LIBS)
+ $(CXX) $(CXXFLAGS) -o $@ example.o $(LDFLAGS)
+
+%.o: %.cxx
+ $(CXX) $(CXXFLAGS) -c $<
+
+clean:
+ rm -f *.o *~ example libthes.a
+
+distclean: clean
+
+depend:
+ makedepend -- $(CXXFLAGS) -- *.[ch]xx
+
+# DO NOT DELETE THIS LINE -- make depend depends on it.
+
+mythes.o: mythes.hxx
+example.o: mythes.hxx
+