From 1daf607ecfd464fe121da3feb6aed020eed210e6 Mon Sep 17 00:00:00 2001 From: Dominik Brodowski Date: Tue, 5 Mar 2002 12:00:00 +0100 Subject: 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 --- makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 makefile (limited to 'makefile') 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 -- cgit v1.2.3