aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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