sync master with lastest vba changes
[ooovba.git] / lingucomponent / source / thesaurus / mythes / Makefile
blobb1d811296714051330c52740b7ccc39691b5e29b
2 CXX=g++
4 CXXFLAGS= -O2 -Wall -ansi -pedantic -I.
6 LDFLAGS=-L. -lmythes
8 LIBS=libmythes.a
10 AR=ar rc
11 RANLIB=ranlib
13 OBJS = mythes.o
15 all: example
17 libmythes.a: $(OBJS)
18 $(AR) $@ $(OBJS)
19 -@ ($(RANLIB) $@ || true) >/dev/null 2>&1
21 example: example.o $(LIBS)
22 $(CXX) $(CXXFLAGS) -o $@ example.o $(LDFLAGS)
24 %.o: %.cxx
25 $(CXX) $(CXXFLAGS) -c $<
27 clean:
28 rm -f *.o *~ example libthes.a
30 distclean: clean
32 depend:
33 makedepend -- $(CXXFLAGS) -- *.[ch]xx
35 # DO NOT DELETE THIS LINE -- make depend depends on it.
37 mythes.o: mythes.hxx
38 example.o: mythes.hxx