aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-07-26 14:21:16 -0300
committerDavid Bremner <david@tethera.net>2021-07-26 14:21:16 -0300
commit309b8f3246d7a387e2f20e1ccb32b1c9285f81f1 (patch)
tree66e81cf2a48f54804470092b3034b89e999f24e4 /Makefile
parent05ab183959c26fa092298a9d78b1d632f6dc28c3 (diff)
rat2canon: get building with lrslib 072
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ed6eb4a..50dad1e 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ RANLIB=ranlib
# Uncomment and edit the following for multiprecision support.
-LRSDIR=../lrslib
+LRSDIR=../lrslib-072
# The rest of these should be ok if just uncommented.
# comment out the following to compile without multiprecision
@@ -44,8 +44,10 @@ rat2float.o: rat2float.c rat2float.h
rat2canon.h: rat2canon.doc
-rat2canon: rat2canon.c rat2canon.h process_args.o ine_io.o $(MPOBJ)
- $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ process_args.o ine_io.o $(MPOBJ) $(LDFLAGS) $<
+rat2canon: rat2canon.o process_args.o ine_io.o $(MPOBJ)
+ $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+rat2canon.o: rat2canon.c rat2canon.h
rat2int.h: rat2int.doc