| 1 |
SHELL=/bin/sh |
| 2 |
|
| 3 |
include $(HOME_LORENE)/local_settings |
| 4 |
|
| 5 |
LIB = -L$(HOME_LORENE)/Lib -llorene_g -llorenef77_g \ |
| 6 |
$(LIB_GSL) \ |
| 7 |
$(LIB_LAPACK) \ |
| 8 |
$(LIB_PGPLOT) \ |
| 9 |
$(LIB_CXX) |
| 10 |
|
| 11 |
.SUFFIXES : .o .C |
| 12 |
|
| 13 |
install: test_fft test_lapack |
| 14 |
|
| 15 |
test_fft: test_fft.o |
| 16 |
$(CXX) -o $@ $(CXXFLAGS_G) test_fft.o $(LIB) |
| 17 |
|
| 18 |
test_lapack: test_lapack.o |
| 19 |
$(CXX) -o $@ $(CXXFLAGS_G) test_lapack.o $(LIB) |
| 20 |
|
| 21 |
test_pgplot: test_pgplot.o |
| 22 |
$(CXX) -o $@ $(CXXFLAGS_G) test_pgplot.o $(LIB) |
| 23 |
|
| 24 |
|
| 25 |
.C.o: |
| 26 |
$(CXX) -c $(CXXFLAGS_G) $(INC) $< |
| 27 |
|