forked from kennberg/fractal-compression
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (27 loc) · 693 Bytes
/
Makefile
File metadata and controls
42 lines (27 loc) · 693 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
29
30
31
32
33
34
35
36
37
38
39
40
OPT = -fopenmp -msse4 -O2 counters.cpp -std=c++11
OBJ = IFSTransform.o\
Image.o\
Decoder.o\
Encoder.o\
QuadTreeEncoder.o\
count_ops.o
all: fractal
IFSTransform.o: IFSTransform.h IFSTransform.cpp
g++ $(OPT) -c IFSTransform.cpp
Image.o: Image.h Image.cpp
g++ $(OPT) -c Image.cpp
Decoder.o: Decoder.h Decoder.cpp
g++ $(OPT) -c Decoder.cpp
Encoder.o: Encoder.h Encoder.cpp
g++ $(OPT) -c Encoder.cpp
count_ops.o: count_ops.cpp
g++ $(OPT) -c count_ops.cpp
QuadTreeEncoder.o: QuadTreeEncoder.h QuadTreeEncoder.cpp
g++ $(OPT) -c QuadTreeEncoder.cpp
fractal: $(OBJ) main.cpp
g++ $(OPT) -o fractal $(OBJ) main.cpp
check:
cd test; ./test.sh
clean:
rm *.o
rm fractal*