The unified diff between revisions [4611588a..] and [878a5382..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'aca319/Makefile'

#
#
# patch "aca319/Makefile"
#  from [0a413b453b5847cd99a947d35630a8cab9715933]
#    to [5177fd23b144ae8e94a7dec2ecc95dacf4e5f605]
#
============================================================
--- aca319/Makefile	0a413b453b5847cd99a947d35630a8cab9715933
+++ aca319/Makefile	5177fd23b144ae8e94a7dec2ecc95dacf4e5f605
@@ -1,8 +1,9 @@ LDFLAGS=-lpthread
 CC=gcc
 CFLAGS=-Wall -ggdb
 LDFLAGS=-lpthread
+PROGRAMS=lab1q1 lab1q2 lab2q1 lab2q2 lab3q1 lab3q2 lab3q3 lab4q1 lab4q1_up lab5q1 lab5q2 lab6q1 lab6q2 lab7q1 lab7q2 lab8q1

-all: lab1q1 lab1q2 lab2q1 lab2q2 lab3q1 lab3q2 lab3q3 lab4q1 lab4q1_up lab5q1 lab5q2 lab6q1 lab6q2 lab7q1 lab7q2
+all: $(PROGRAMS)

 lab1q1: lab1q1.o
 lab1q2: lab1q2.o
@@ -37,6 +38,9 @@ lab7q2: lab7q2.c
 lab7q2: lab7q2.c
 	mpicc $(CFLAGS) -lmpe -o lab7q2 lab7q2.c

+lab8q1: lab8q1.c
+	mpicc $(CFLAGS) -lmpe -o lab8q1 lab8q1.c
+
 lab4q1_up: lab4q1_up.o

 run_lab3q1:
@@ -64,5 +68,5 @@ clean:
 	mpirun -machinefile machines -np 5 lab7q2

 clean:
-	rm -f *.o lab1q1 lab1q2 lab2q1 lab2q2 lab3q1 lab3q2 lab3q3 lab4q1 lab4q1_up lab5q1 lab5q2 lab6q1 lab6q2 lab7q1 lab7q2
+	rm -f *.o $(PROGRAMS)