author | A.M. Thurnherr <athurnherr@yahoo.com> |
Mon, 23 Feb 2015 09:19:46 +0000 | |
changeset 15 | 3746197831db |
parent 5 | 033a169071de |
permissions | -rw-r--r-- |
15
3746197831db
IX11beta for CLIVAR P16
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
5
diff
changeset
|
1 |
# Generic minimal makefile for linux. |
5 | 2 |
|
3 |
all: magdec |
|
4 |
||
5 |
magdec: geomag_calc.o magdec.o Makefile igrf11.h |
|
6 |
$(CC) -o $@ geomag_calc.o magdec.o -lm |
|
7 |
||
8 |
install: magdec |
|
15
3746197831db
IX11beta for CLIVAR P16
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
5
diff
changeset
|
9 |
install magdec /usr/local/bin |
5 | 10 |
|
11 |
clean: |
|
12 |
$(RM) *.o magdec |