| Tau Ceti | |||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
% make stargen
cc -c -O -g -W -Wall -Wno-long-double stargen.c
cc -c -O -g -W -Wall -Wno-long-double accrete.c
cc -c -O -g -W -Wall -Wno-long-double display.c
cc -c -O -g -W -Wall -Wno-long-double Dumas.c
Dumas.c: In function `dumasDumpHoard':
Dumas.c:746: warning: subscript has type `char'
cc -c -O -g -W -Wall -Wno-long-double enviro.c
cc -c -O -g -W -Wall -Wno-long-double propert.c
cc -c -O -g -W -Wall -Wno-long-double utils.c
cc -O -g -W -Wall -Wno-long-double -o stargen stargen.o
accrete.o display.o Dumas.o enviro.o propert.o utils.o -lm
stargen made
% mv stargen ~/bin/
% stargen
Usage: stargen [options] [system name]
Options:
-s# Set random number seed
-m# Specify stellar mass
-n# Specify number of systems
-i# Number to increment each seed by
-x Use the Solar System's masses/orbits
-X Use the Solar System's orbits
-d Use Dole's 15 nearby stars
-D# Use Dole's system #n
-w Use 51 nearby stars taken from the Web
-W# Use Web system #n
-p Specify the path for the output file
-t Text-only output
-v Increment verbosity
-g Show (experimental) atmospheric gases
-l List nearby stars and exit
Nearest stars taken from:
http://www.solstation.com/stars.htm