Export/MagNS/Makefile_O2
raw| 1 | SHELL=/bin/sh |
| 2 | |
| 3 | include $(HOME_LORENE)/local_settings # defines which compiler,... |
| 4 | |
| 5 | INCEXP = -I$(HOME_LORENE)/Export/C++/Include |
| 6 | LIB = -L$(HOME_LORENE)/Lib -llorene_export -llorene -llorenef77 |
| 7 | |
| 8 | .SUFFIXES : .o .C |
| 9 | |
| 10 | EXE = read_mag_ns |
| 11 | SRC = read_mag_ns.C |
| 12 | OBJ = $(SRC:.C=.o) |
| 13 | |
| 14 | $(EXE): $(OBJ) |
| 15 | $(CXX) -o $@ $(CXXFLAGS) $(OBJ) $(LIB) $(LIB_LAPACK) \ |
| 16 | $(LIB_GSL) $(LIB_CXX) |
| 17 | |
| 18 | .C.o: |
| 19 | $(CXX) -c $(CXXFLAGS) $(INCEXP) $< |
| 20 | |
| 21 | uninstall: |
| 22 | rm -f $(OBJ) |
| 23 | rm -f $(EXE) |
| 24 |