aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--P1/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/P1/Makefile b/P1/Makefile
index 4134c5f..e9762c8 100644
--- a/P1/Makefile
+++ b/P1/Makefile
@@ -5,7 +5,7 @@ SRCDIR=src
INCLDIR=include
LIBDIR=lib
-mapreduce: $(LIBDIR)/utils.o mapper reducer
+mapreduce: $(LIBDIR)/utils.o $(SRCDIR)/mapreduce.c mapper reducer
$(CC) $(CFLAGS) -I$(INCLDIR) $(LIBDIR)/utils.o $(SRCDIR)/mapreduce.c -o mapreduce
mapper: $(SRCDIR)/mapper.c $(LIBDIR)/utils.o
@@ -24,4 +24,4 @@ t1:
clean:
rm mapreduce mapper reducer
- rm -rf output \ No newline at end of file
+ rm -rf output