aboutsummaryrefslogtreecommitdiffstats
path: root/P1/Template/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'P1/Template/Makefile')
-rw-r--r--P1/Template/Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/P1/Template/Makefile b/P1/Template/Makefile
deleted file mode 100644
index 4134c5f..0000000
--- a/P1/Template/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-CC=gcc
-CFLAGS=-g
-
-SRCDIR=src
-INCLDIR=include
-LIBDIR=lib
-
-mapreduce: $(LIBDIR)/utils.o mapper reducer
- $(CC) $(CFLAGS) -I$(INCLDIR) $(LIBDIR)/utils.o $(SRCDIR)/mapreduce.c -o mapreduce
-
-mapper: $(SRCDIR)/mapper.c $(LIBDIR)/utils.o
- $(CC) $(CFLAGS) -I$(INCLDIR) $(LIBDIR)/utils.o $(SRCDIR)/mapper.c -o mapper
-
-reducer: $(SRCDIR)/reducer.c $(LIBDIR)/utils.o
- $(CC) $(CFLAGS) -I$(INCLDIR) $(LIBDIR)/utils.o $(SRCDIR)/reducer.c -o reducer
-
-.PHONY: run clean t1
-
-#500KB
-t1:
-# make -i clean
-# make
- ./mapreduce 5 2 test/T1/F1.txt
-
-clean:
- rm mapreduce mapper reducer
- rm -rf output \ No newline at end of file