aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbremner <bremner@09fa754a-f411-0410-976a-da6bfa213b30>2006-06-01 19:27:52 +0000
committerbremner <bremner@09fa754a-f411-0410-976a-da6bfa213b30>2006-06-01 19:27:52 +0000
commitedaad771cb395a3a0b68cf3bbda2de1e259194c7 (patch)
treed6bfc9b298ee3363337f7287d3f04babb84f3cd5
parent7a583e3a287eb468e82e6509b467b6701e50dade (diff)
renamed .ds files for david avis
git-svn-id: file:///export/data/bremner/svn/trunk/inetools@5360 09fa754a-f411-0410-976a-da6bfa213b30
-rw-r--r--Makefile25
-rw-r--r--countrows.c2
-rw-r--r--countrows.h (renamed from countrows.ds)0
-rw-r--r--float2rat.c2
-rw-r--r--float2rat.h (renamed from float2rat.ds)2
-rw-r--r--rat2canon.c2
-rw-r--r--rat2canon.h (renamed from rat2canon.ds)0
-rw-r--r--rat2float.c4
-rw-r--r--rat2float.h (renamed from rat2float.ds)2
9 files changed, 20 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 9d0dfcc..e8829f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
-.SUFFIXES: .doc .ds
+.SUFFIXES: .doc .h
BIN= rat2float float2rat rat2canon countrows
MPOBJ=
+DOCHEADERS=rat2float.h float2rat.h rat2canon.h countrows.h
CC=gcc
CFLAGS=-g
@@ -22,44 +23,44 @@ CPPFLAGS+= -DLRSMP
VPATH=$(LRSDIR)
MPOBJ=lrsmp.o
-.doc.ds:
+.doc.h:
perl ./doc2h.pl < $< > $@
all: ${BIN}
-docstrings: ${DS}
+docstrings: ${DOCHEADERS}
.PHONEY: all clean install
-rat2float.ds: rat2float.doc
+rat2float.h: rat2float.doc
-rat2float: rat2float.c rat2float.ds $(MPOBJ)
+rat2float: rat2float.c rat2float.h $(MPOBJ)
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(MPOBJ) $(LDFLAGS) $<
-rat2canon.ds: rat2canon.doc
+rat2canon.h: rat2canon.doc
-rat2canon: rat2canon.c rat2canon.ds $(MPOBJ)
+rat2canon: rat2canon.c rat2canon.h $(MPOBJ)
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(MPOBJ) $(LDFLAGS) $<
-countrows.ds: countrows.doc
+countrows.h: countrows.doc
-countrows: countrows.c countrows.ds $(MPOBJ)
+countrows: countrows.c countrows.h $(MPOBJ)
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(MPOBJ) $(LDFLAGS) $<
-float2rat.ds: float2rat.doc
+float2rat.h: float2rat.doc
-float2rat: float2rat.c float2rat.ds
+float2rat: float2rat.c float2rat.h
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(LDFLAGS) $<
clean:
$(RM) *.o core ${BIN}
reallyclean: clean
- $(RM) *.ds
+ $(RM) $(DOCHEADERS)
diff --git a/countrows.c b/countrows.c
index 9120827..c94e53e 100644
--- a/countrows.c
+++ b/countrows.c
@@ -25,7 +25,7 @@ typedef lrs_mp integer_t;
#define MP_DIGITS 1000L
-#include "countrows.ds"
+#include "countrows.h"
int main(argc,argv)
diff --git a/countrows.ds b/countrows.h
index 1d2aa66..1d2aa66 100644
--- a/countrows.ds
+++ b/countrows.h
diff --git a/float2rat.c b/float2rat.c
index 1b44a96..af171e1 100644
--- a/float2rat.c
+++ b/float2rat.c
@@ -13,7 +13,7 @@ static char rcsid[]="$Id$";
#include <string.h>
#include <float.h>
-#include "float2rat.ds"
+#include "float2rat.h"
main(argc,argv)
int argc;
diff --git a/float2rat.ds b/float2rat.h
index 209eec8..c646dbe 100644
--- a/float2rat.ds
+++ b/float2rat.h
@@ -1,5 +1,5 @@
#define DOCSTRING "\n\
-$Id$\n\
+$Id: float2rat.doc 2337 2006-04-03 20:42:09Z bremner $\n\
\n\
Converts floating point coefficent $f$ to rational by the \n\
simple expedient of outputing 10^k*f/10^k for appropriate \n\
diff --git a/rat2canon.c b/rat2canon.c
index 2a1e0f8..03555c6 100644
--- a/rat2canon.c
+++ b/rat2canon.c
@@ -25,7 +25,7 @@ typedef lrs_mp integer_t;
#define MP_DIGITS 1000L
-#include "rat2canon.ds"
+#include "rat2canon.h"
static int *rows=NULL;
static long int m,n;
diff --git a/rat2canon.ds b/rat2canon.h
index 2447acb..2447acb 100644
--- a/rat2canon.ds
+++ b/rat2canon.h
diff --git a/rat2float.c b/rat2float.c
index 079c995..f14a267 100644
--- a/rat2float.c
+++ b/rat2float.c
@@ -2,7 +2,7 @@
* Reads a polyhedron file on stdin with rationals and outputs
* an approximation in decimal floating point
*
- * David Bremner. bremner@cs.mcgill.ca
+ * David Bremner. bremner@unb.ca
*
*/
@@ -51,7 +51,7 @@ typedef lrs_mp integer_t;
-#include "rat2float.ds"
+#include "rat2float.h"
diff --git a/rat2float.ds b/rat2float.h
index 44582d6..3148de6 100644
--- a/rat2float.ds
+++ b/rat2float.h
@@ -1,5 +1,5 @@
#define DOCSTRING "\n\
-$Id$ \n\
+$Id: rat2float.doc 2343 2006-04-04 12:34:35Z bremner $ \n\
\n\
float takes a polytope file with rational or integer coefficents, \n\
and outputs an approximately equivelent one with floating point \n\