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