aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent7a583e3a287eb468e82e6509b467b6701e50dade (diff)
renamed .ds files for david avis
git-svn-id: file:///export/data/bremner/svn/trunk/inetools@5360 09fa754a-f411-0410-976a-da6bfa213b30
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 13 insertions, 12 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)