
###############################################################################
# MODULE     : Make file for plugin example with dynamic links
# BY         : Joris van der Hoeven
# COPYRIGHT  : This software falls under the GNU general public license;
#              see the file 'LICENSE', which is provided with this package.
###############################################################################

tmsrc = /home/kitty/pkg_work/texmacs/TeXmacs-1.0.3.9-src/TeXmacs
CXX = g++
LD  = g++
RM  = rm -f

lib/libtmdynlink.so: src/dynlink.cpp
	$(CXX) -I$(tmsrc)/include -c src/dynlink.cpp -o src/dynlink.o
	$(LD) -shared -o lib/libtmdynlink.so src/dynlink.o

clean:
	$(RM) *~
	$(RM) */*~
	$(RM) */*.o
	$(RM) lib/*
