forked from gerasimosmichalitsianos/pansharpen_c_cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
41 lines (30 loc) · 755 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
41
#
# name of output executable program
#
PROG = pansharpen
#
# name of C compiler
#
CC = gcc
#
# name of C++ compiler
#
CPP = g++
#
# C++ compilation flags
#
CPPFLAGS = -g -Wall -I/usr/include/gdal \
-I/root/.local/share/.cpan/build/Geo-GDAL-2.010301-MVePvE/gdal/ogr \
-I/root/.local/share/.cpan/build/Geo-GDAL-2.010301-MVePvE/gdal/port \
-I/root/.local/share/.cpan/build/Geo-GDAL-2.010301-MVePvE/gdal/gcore \
-I/root/.local/share/.cpan/build/Geo-GDAL-2.010301-MVePvE/gdal/alg
#
# flags for compilation
#
LDFLAGS = -L/usr/lib -lgdal -lm
all:
@$(CC) geotiffutil.c -c $(CPPFLAGS) $(LDFLAGS)
@$(CPP) runpansharpen.cpp resample.cpp geotiffutil.c pansharpen.cpp $(CPPFLAGS) $(LDFLAGS) -o $(PROG)
clean:
@rm $(PROG)
@rm *.o