Skip to content

Commit

Permalink
added makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan.mitre committed Dec 20, 2013
1 parent a4003b8 commit 1e8378c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
large.pgm
small.pgm
out.pgm
susan_omp
susan_serial
serial.pgm
13 changes: 13 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
all: serial mpi omp

serial: susan.c
gcc susan.c -lm -o susan_serial

mpi: susan_mpi.c


omp: susan_omp.c
gcc -fopenmp susan_omp.c -lm -o susan_omp

clean:
rm susan_serial susan_mpi susan_omp
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1e8378c

Please sign in to comment.