From edaad771cb395a3a0b68cf3bbda2de1e259194c7 Mon Sep 17 00:00:00 2001 From: bremner Date: Thu, 1 Jun 2006 19:27:52 +0000 Subject: renamed .ds files for david avis git-svn-id: file:///export/data/bremner/svn/trunk/inetools@5360 09fa754a-f411-0410-976a-da6bfa213b30 --- Makefile | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3