Debian Codegraph @

Codes/Rot_star/Geodesics/Makefile_O2

raw
1 SHELL=/bin/sh
2
3 include $(HOME_LORENE)/local_settings # defines which compiler,...
4
5 LIB = -L$(HOME_LORENE)/Lib -llorene -llorenef77
6
7 .SUFFIXES : .o .C
8
9 SRC1 = main.C interpol2.C rk4_exp.C geodesics.C nrutil.C misc.C
10 OBJ1 = $(SRC1:.C=.o)
11 EXE1 = geodesics
12
13 $(EXE1): $(OBJ1)
14 $(CXX) -o $@ $(CXXFLAGS) $(OBJ1) $(LIB) $(LIB_LAPACK) \
15 $(LIB_PGPLOT) $(LIB_CXX)
16
17 .C.o:
18 $(CXX) -c $(CXXFLAGS) $(INC) $<
19
20 uninstall:
21 rm -f $(OBJ1)
22 rm -f $(EXE1)
23
24