summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2002-03-05 12:00:00 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2017-09-24 10:21:32 +0200
commit1daf607ecfd464fe121da3feb6aed020eed210e6 (patch)
tree8489abd28e985372c58f802dc13fcc89252f27dd /makefile
downloadnrlmsise-00-1daf607ecfd464fe121da3feb6aed020eed210e6.tar.gz
NRLMSISE-00 initial C release
C source code for the NRLMSISE-00 empirical atmosphere model The NRLMSIS-00 (sic!) empirical atmosphere model was developed by Mike Picone, Alan Hedin, and Doug Drob. It describes the neutral temperature and densities in Earth's atmosphere from ground to thermospheric heights. (quoted from http://modelweb.gsfc.nasa.gov/ ) - you can find a longer explanation of this model there, too. The authors of NRLMSISE-00 have released a FORTRAN version which is available at http://uap-www.nrl.navy.mil/models_web/msis/msis_home.htm. Based on the Official Beta Release 1.0 (NRLMSISE-00.DIST12.TXT) Dominik Brodowski wrote an implementation in C. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please inform the maintainer of the C release (Dominik Brodowski - mail@brodo.de) of any patches and bug-fixes you implement for NRLMSISE-00 so that this C package can be updated with these improvements. Signed-off-by: Dominik Brodowski <linux@dominikbrodwski.net>
Diffstat (limited to 'makefile')
-rw-r--r--makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..fa2a07e
--- /dev/null
+++ b/makefile
@@ -0,0 +1,21 @@
+CFLAGS = -Wall -g -DINLINE
+MFLAGS = $(CFLAGS) -lm
+CC = gcc $(CFLAGS)
+MCC = gcc $(MFLAGS)
+
+nrlmsise-test : nrlmsise-00.o nrlmsise-00_test.o nrlmsise-00_data.o
+ $(MCC) -o nrlmsise-test nrlmsise-00.o nrlmsise-00_test.o \
+ nrlmsise-00_data.o
+
+nrlmsise-00.o : nrlmsise-00.c nrlmsise-00.h
+ $(CC) -c nrlmsise-00.c
+
+nrlmsise-00_test.o : nrlmsise-00_test.c nrlmsise-00.h
+ $(CC) -c nrlmsise-00_test.c
+
+nrlmsise-00_data.o : nrlmsise-00_data.c nrlmsise-00.h
+ $(CC) -c nrlmsise-00_data.c
+
+clean :
+ rm -rf nrlmsise-test nrlmsise-00.o nrlmsise-00_test.o \
+ nrlmsise-00_data.o