Files
@ 215974bd7440
Branch filter:
Location: MD/arcos/src/Makefile.org
215974bd7440
3.6 KiB
application/vnd.lotus-organizer
Edited file README via RhodeCode
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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | # Alejandro Luque Estepa, 2006
# Margreet Nool 2013
TOPDIR := ..
include $(TOPDIR)/Makefile.config
include $(TOPDIR)/Makefile.inc
.PHONY: example2 all clean
all:
@echo
@echo "#################################"
@echo "### BUILDING arcos executable ###"
@echo "#################################"
@echo
make arcos
mv arcos ..
# ---------------------------------------------------------------------------
DEBUG_LEVEL = 1
all: arcos
OBJ = cdr.o poisson.o rz_array.o interpol2.o misc.o \
cstream.o dft.o grid.o reaction.o mapper.o \
photo.o main.o sprites.o react_table.o rt.o configuration.o
LIBDIR1 = $(TOPDIR)/fish90/lib
LIBDIR2 = $(TOPDIR)/arcos_f90/lib
LIBDIR3 = /ufs/greta/libconfig/libconfig-1.4.9/lib
LIBDIRS = $(LIBDIR1) $(LIBDIR2)
LIBS = -L./$(LIBDIR1) -L./$(LIBDIR2) -lfish90 -larcos -lm -lfftw3 /ufs/greta/libconfig/libconfig-1.4.9/lib/.libs/libconfig.so
LIBS_new = -L./$(LIBDIR1) -L./$(LIBDIR2) -lfish90 -lm -lfftw3 /ufs/greta/libconfig/libconfig-1.4.9/lib/.libs/libconfig.so
INCDIRS1 = ../include
INCDIRS2 = $(TOPDIR)/fish90/include
$(OBJ) : $(LIBDIR1)/libfish90.a $(LIBDIR1)/fish.mod \
$(LIBDIR2)/libarcos.a
%.o: %.c
$(CC) $(CFLAGS) $(DFLAGS) $(INCLUDES) -o $@ -c $<
example2.o : $(INCDIRS1)/libconfig.h $(INCDIRS1)/configuration.h
example2: configuration.o example2.o
$(CC) $(CCFLAGS) example2.o configuration.o -o $@ $(LIBS_new)
cdr.o : $(INCDIRS1)/cdr.h $(INCDIRS1)/cstream.h \
$(INCDIRS1)/grid.h $(INCDIRS1)/interpol2.h \
$(INCDIRS1)/mapper.h $(INCDIRS1)/parameters.h \
$(INCDIRS1)/poisson.h $(INCDIRS1)/proto.h \
$(INCDIRS1)/react_table.h $(INCDIRS1)/rz_array.h \
$(INCDIRS1)/species.h $(INCDIRS1)/tree.h
cstream.o : $(INCDIRS1)/parameters.h $(INCDIRS1)/proto.h \
$(INCDIRS1)/species.h
dft.o : $(INCDIRS1)/cdr.h $(INCDIRS1)/cstream.h \
$(INCDIRS1)/grid.h $(INCDIRS1)/parameters.h \
$(INCDIRS1)/proto.h $(INCDIRS1)/rz_array.h \
$(INCDIRS1)/species.h
grid.o : $(INCDIRS1)/grid.h $(INCDIRS1)/parameters.h \
$(INCDIRS1)/proto.h $(INCDIRS1)/species.h
interpol2.o : $(INCDIRS1)/grid.h $(INCDIRS1)/interpol2.h \
$(INCDIRS1)/parameters.h $(INCDIRS1)/proto.h \
$(INCDIRS1)/rz_array.h $(INCDIRS1)/species.h
main.o : $(INCDIRS1)/cdr.h $(INCDIRS1)/cstream.h \
$(INCDIRS1)/grid.h $(INCDIRS1)/parameters.h \
$(INCDIRS1)/proto.h $(INCDIRS1)/species.h \
$(INCDIRS1)/configuration.h
mapper.o : $(INCDIRS1)/cstream.h $(INCDIRS1)/grid.h \
$(INCDIRS1)/interpol2.h $(INCDIRS1)/mapper.h \
$(INCDIRS1)/proto.h $(INCDIRS1)/species.h
photo.o : $(INCDIRS1)/cdr.h $(INCDIRS1)/interpol2.h \
$(INCDIRS1)/mapper.h $(INCDIRS1)/parameters.h \
$(INCDIRS1)/photo.h $(INCDIRS1)/poisson.h \
$(INCDIRS1)/proto.h $(INCDIRS1)/rz_array.h \
$(INCDIRS1)/species.h
poisson.o : $(INCDIRS1)/cdr.h $(INCDIRS1)/cstream.h \
$(INCDIRS1)/grid.h $(INCDIRS1)/interpol2.h \
$(INCDIRS1)/mapper.h $(INCDIRS1)/parameters.h \
$(INCDIRS1)/poisson.h $(INCDIRS1)/proto.h \
$(INCDIRS1)/rz_array.h $(INCDIRS1)/species.h \
$(INCDIRS2)/fishpack.h
reaction.o : $(INCDIRS1)/cdr.h $(INCDIRS1)/grid.h \
$(INCDIRS1)/parameters.h $(INCDIRS1)/photo.h \
$(INCDIRS1)/proto.h $(INCDIRS1)/react_table.h \
$(INCDIRS1)/species.h
react_table.o : $(INCDIRS1)/react_table.h
rt.o : $(INCDIRS1)/parameters.h $(INCDIRS1)/proto.h \
$(INCDIRS1)/species.h
rz_array.o : $(INCDIRS1)/parameters.h $(INCDIRS1)/proto.h \
$(INCDIRS1)/rz_array.h $(INCDIRS1)/species.h
sprites.o : $(INCDIRS1)/cdr.h $(INCDIRS1)/parameters.h \
$(INCDIRS1)/photo.h $(INCDIRS1)/poisson.h \
$(INCDIRS1)/rz_array.h $(INCDIRS1)/species.h
arcos: $(OBJ)
$(F90) $(F90FLAGS) $(OBJ) -o $@ $(LIBS)
clean:
rm -f *.o *~ arcos 2> /dev/null
|