Deleted some spurious CFLAGS. Added the deletd z_abs.c file under another
authorWiljo Heinen <wiljo@freeside.ki.open.de>
Wed, 5 Jan 1994 03:45:29 +0000 (03:45 +0000)
committerWiljo Heinen <wiljo@freeside.ki.open.de>
Wed, 5 Jan 1994 03:45:29 +0000 (03:45 +0000)
name.

lib/libF77/Makefile
lib/libF77/z_abs.c.obsolete [new file with mode: 0644]

index 9334dee..9a790d6 100644 (file)
@@ -1,5 +1,5 @@
 LIB=F77
 LIB=F77
-CFLAGS+= -O -I.. -DSkip_f2c_Undefs -DIEEE_drem
+CFLAGS+= -DSkip_f2c_Undefs -DIEEE_drem
 
 MISC = Version.c main.c s_rnge.c abort_.c getarg_.c iargc_.c getenv_.c\
        signal_.c s_stop.c s_paus.c system_.c cabs.c\
 
 MISC = Version.c main.c s_rnge.c abort_.c getarg_.c iargc_.c getenv_.c\
        signal_.c s_stop.c s_paus.c system_.c cabs.c\
diff --git a/lib/libF77/z_abs.c.obsolete b/lib/libF77/z_abs.c.obsolete
new file mode 100644 (file)
index 0000000..7e67ad2
--- /dev/null
@@ -0,0 +1,12 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+double f__cabs();
+double z_abs(z) doublecomplex *z;
+#else
+double f__cabs(double, double);
+double z_abs(doublecomplex *z)
+#endif
+{
+return( f__cabs( z->r, z->i ) );
+}