aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-07-26 13:48:26 -0300
committerDavid Bremner <david@tethera.net>2021-07-26 14:07:29 -0300
commitfd8ad78605ffd04f856df5716d6a34cf135312cf (patch)
treee89baa1c2d3c53edc716f3857cacc3b90c77b2c5 /Makefile
parentd2b8abcab3ee2e9e224c0886dd278a4e66f7ad06 (diff)
get rat2float building against lrslib-072
Many things could be improved, particularly error processing, but at least it builds and seems to run.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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