]> matita.cs.unibo.it Git - helm.git/commitdiff
Makefile now uses gtkmathview-config
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 29 Nov 2000 13:06:21 +0000 (13:06 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 29 Nov 2000 13:06:21 +0000 (13:06 +0000)
helm/interface/Makefile

index 93e6c97b41559ad9e614b5f3b8249ee36904cc27..c3aa28f87aeeae9ca6ee6f155e0c063d13de66b2 100644 (file)
@@ -111,7 +111,7 @@ mmlinterface: $(MMLINTERFACEOBJS)
                   $(MMLINTERFACEOBJS) \
                   -cclib "-lstr -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk \
                   -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm \
-                  -lunix -L/usr/local/lib/gtkmathview -lgtkmathview \
+                  -lunix `gtkmathview-config --libs` \
                   $(LABLGTK_MATHVIEW_DIR)/ml_gtk_mathview.o \
                   $(MINIDOM_DIR)/ml_minidom.o" \
                   -cclib -lmldbm -cclib -lndbm
@@ -124,7 +124,7 @@ mmlinterface.opt: $(MMLINTERFACEOPTOBJS)
                     $(MMLINTERFACEOPTOBJS) \
                     -cclib "-lstr -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk \
                     -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm \
-                    -lunix -L/usr/local/lib/gtkmathview -lgtkmathview \
+                    -lunix `gtkmathview-config --libs` \
                     $(LABLGTK_MATHVIEW_DIR)/ml_gtk_mathview.o \
                     $(MINIDOM_DIR)/ml_minidom.o" \
                     -cclib -lmldbm -cclib -lndbm