-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
28 lines (19 loc) · 781 Bytes
/
Copy pathmakefile
File metadata and controls
28 lines (19 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all: loopUnrolled threaded vector threadedVector
loopUnrolled: basic/loopUnrolled.c basic/md5_constants.h
gcc -std=gnu99 basic/loopUnrolled.c -o basic/loopUnrolled.out -w
threaded: threaded/threaded.c threaded/md5_constants.h
gcc -std=gnu99 -pthread threaded/threaded.c -o threaded/threaded.out
vector: basic/vector.c basic/md5_vector_constants.h
gcc -std=gnu99 -mavx2 basic/vector.c -o basic/vector.out
threadedVector: threaded/threadedVector.c threaded/md5_vector_constants.h
gcc -std=gnu99 -pthread -mavx2 threaded/threadedVector.c -o threaded/threadedVector.out
test: loopUnrolled
basic/loopUnrolled.out
threadtest: threaded
threaded/threaded.out
vectortest: vector
basic/vector.out
threadvectest: threadedVector
threaded/threadedVector.out
clean:
rm */*.out