summaryrefslogtreecommitdiff
path: root/libs/pbd/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/test/Makefile')
-rw-r--r--libs/pbd/test/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/pbd/test/Makefile b/libs/pbd/test/Makefile
new file mode 100644
index 0000000000..fc0da41812
--- /dev/null
+++ b/libs/pbd/test/Makefile
@@ -0,0 +1,6 @@
+test: xpath
+ LD_LIBRARY_PATH=..:../../sigc++2:../../glibmm2 ./xpath
+ LD_LIBRARY_PATH=..:../../sigc++2:../../glibmm2 gprof ./xpath > gprof.out
+
+xpath: xpath.cc
+ gcc -o $@ -g -pg -I.. `xml2-config --libs --cflags` -L.. -L../../sigc++2 -L../../glibmm2 -lstdc++ -lpbd -lglibmm2 -lsigc++2 $<