forked from planetlabs/plcompositor
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
41 lines (32 loc) · 925 Bytes
/
Makefile
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
LIBS = -L/home/warmerdam/bld/lib -L/usr/local/lib -L/usr/local/pl/lib \
-lgdal -lwjelement -lwjreader
INCLUDE = -I/home/warmerdam/bld/include \
-I/usr/include/gdal \
-I/usr/local/include \
-I/usr/local/pl/include
OPTFLAGS = -g -DDEBUG
CPPFLAGS = -Wall $(INCLUDE) $(OPTFLAGS)
OBJ = src/plcinput.o \
src/plcline.o \
src/plccontext.o \
src/plchistogram.o \
src/sourcepostprocess.o \
\
src/qualitymethodbase.o \
src/linecompositor.o \
src/darkestquality.o \
src/greenestquality.o \
src/scenemeasurequality.o \
src/landsat8cloudquality.o \
src/landsat8snowquality.o \
src/percentilequality.o \
src/qualityfromfile.o \
src/samesourcequality.o
compositor: src/compositor.o $(OBJ)
g++ -o compositor src/compositor.o $(OBJ) $(LIBS)
$(OBJ): src/compositor.h Makefile
clean:
rm -f $(OBJ) src/compositor.o compositor
check: compositor
(cd tests; python small_tests.py)
(cd tests; python saojose_tests.py)