Index: branches/rel1/psLib/src/Makefile.Globals
===================================================================
--- branches/rel1/psLib/src/Makefile.Globals	(revision 1038)
+++ branches/rel1/psLib/src/Makefile.Globals	(revision 1043)
@@ -5,6 +5,6 @@
 ##  Assumptions:    Variable "prefix" already defined
 ##
-##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-06-12 01:33:16 $
+##  $Revision: 1.10.2.1 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-06-15 03:09:15 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -46,5 +46,6 @@
 # Set initial value for LDFLAGS which will include all OS common flags for GCC and required libraries.
 
-LDFLAGS := -g2 -pipe -lcfitsio -lgsl -lgslcblas -lfftw3f
+EXTLIBS := -lcfitsio -lgsl -lgslcblas -lfftw3f
+LDFLAGS := -g2 -pipe $(EXTLIBS) 
 
 # Define or refine variables for the Linux OS
@@ -64,4 +65,5 @@
     CFLAGS += -Wno-long-double -DDARWIN
     CFLAGS_RELOC := $(CFLAGS)
+    LDFLAGS := $(LDFLAGS) -lmx
     LDFLAGS_SO := $(LDFLAGS) -bundle -flat_namespace -undefined suppress
     LDFLAGS_DLL := $(LDFLAGS) -dynamiclib
@@ -70,5 +72,5 @@
     DOCS =
     BUILD_DYNAMIC1 = libtool -dynamic
-    BUILD_DYNAMIC2 = -lm -lgcc -o
+    BUILD_DYNAMIC2 = -lm -lmx -lgcc $(EXTLIBS) -o
 endif
 
