From fd8ad78605ffd04f856df5716d6a34cf135312cf Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 26 Jul 2021 13:48:26 -0300 Subject: get rat2float building against lrslib-072 Many things could be improved, particularly error processing, but at least it builds and seems to run. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index db57b12..ed6eb4a 100644 --- a/Makefile +++ b/Makefile @@ -37,9 +37,10 @@ docstrings: ${DOCHEADERS} rat2float.h: rat2float.doc -rat2float: rat2float.c rat2float.h $(MPOBJ) process_args.o - $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(MPOBJ) process_args.o $(LDFLAGS) $< +rat2float: rat2float.o $(MPOBJ) process_args.o + $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ $(LDFLAGS) +rat2float.o: rat2float.c rat2float.h rat2canon.h: rat2canon.doc -- cgit v1.2.3