aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8c7e98d..db57b12 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
.SUFFIXES: .doc .h
-BIN= rat2float float2rat rat2canon countrows
+BIN= rat2float float2rat rat2canon countrows rat2int
MPOBJ=
DOCHEADERS=rat2float.h float2rat.h rat2canon.h countrows.h
@@ -43,8 +43,13 @@ rat2float: rat2float.c rat2float.h $(MPOBJ) process_args.o
rat2canon.h: rat2canon.doc
-rat2canon: rat2canon.c rat2canon.h process_args.o $(MPOBJ)
- $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ process_args.o $(MPOBJ) $(LDFLAGS) $<
+rat2canon: rat2canon.c rat2canon.h process_args.o ine_io.o $(MPOBJ)
+ $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ process_args.o ine_io.o $(MPOBJ) $(LDFLAGS) $<
+
+rat2int.h: rat2int.doc
+
+rat2int: rat2int.c rat2int.h process_args.o ine_io.o $(MPOBJ)
+ $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ process_args.o ine_io.o $(MPOBJ) $(LDFLAGS) $<
countrows.h: countrows.doc