-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (33 loc) · 990 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
CC=g++
#CC=mpicxx
ALFDIR=/home/apbennett/alfresco
GIPLDIR=/home/apbennett/gipl
TEMDIR=/home/apbennett/dvm-dos-tem
INCLUDES= \
-I./include \
-I./src \
-I$(ALFDIR)/include \
-I$(GIPLDIR) \
-I/usr/include/gdal \
-I$(TEMDIR)/src \
-I$(TEMDIR)/src/assembler \
-I$(TEMDIR)/src/atmosphere \
-I$(TEMDIR)/src/data \
-I$(TEMDIR)/src/disturb \
-I$(TEMDIR)/src/ecodomain \
-I$(TEMDIR)/src/inc \
-I$(TEMDIR)/src/input \
-I$(TEMDIR)/src/lookup \
-I$(TEMDIR)/src/output \
-I$(TEMDIR)/src/runmodule \
-I$(TEMDIR)/src/snowsoil \
-I$(TEMDIR)/src/util \
-I$(TEMDIR)/src/vegetation
LDFLAGS=-L/home/apbennett/lib -L$(TEMDIR) -L$(GIPLDIR)
LIBS=-lFrescoAIEM -lPocoFoundation -lPocoXML -lPocoNet -lgdal -lTEM -lgipl -lboost_system -lboost_filesystem -lboost_program_options -ljsoncpp
EXEC=aiem
SRC=$(ALFDIR)/src/StatArray.cpp $(ALFDIR)/src/StatFile.cpp src/aiem.cpp src/CoupledData.cpp src/ArgHandler.cpp src/main.cpp
all:
$(CC) $(INCLUDES) $(SRC) -o $(EXEC) $(LDFLAGS) $(LIBS)
clean:
rm aiem