Commit 2b4ce206b055f8cab4ef599a55a6ed72b443c410
1 parent
d16e53ac39
Exists in
master
Add Makefile
Showing 1 changed file with 29 additions and 0 deletions Inline Diff
lab3/Makefile
View file @
2b4ce20
| File was created | 1 | GCC = gcc | ||
| 2 | CFLAGS = -O3 -fopenmp | |||
| 3 | OMP_FLAG = -fopenmp | |||
| 4 | RM = rm -rf | |||
| 5 | ||||
| 6 | ||||
| 7 | EXE = omp_heat2D ser_heat2D | |||
| 8 | ||||
| 9 | all : $(EXE) | |||
| 10 | ||||
| 11 | #.PHONY: all clean purge | |||
| 12 | ||||
| 13 | ||||
| 14 | pi_ser: ser_heat2D.o | |||
| 15 | $(GCC) $(CFLAGS) -o $@ $^ | |||
| 16 | ||||
| 17 | pi_task: omp_heat2D.o |