
CC=gcc

all: planets fastplan asctobin catalog  
	ls -lsa > all.files.list



#  if you don't use the nod.f routine in ../sources,
#   you can ommit the call to the fortran library, -lF77: 
planets: planets.c ../ephlib
	$(CC) -g planets.c ../ephlib  -lm
	mv a.out planets

fastplan: fastplan.c ../ephlib
	$(CC) -g fastplan.c ../ephlib -lm
	mv a.out fastplan

asctobin: asctobin.c ../ephlib
	$(CC) -g asctobin.c ../ephlib -lm
	mv a.out asctobin

#  for ../ephlib, execute the makefile in ../sources 

catalog: catalog.c
	$(CC) -g catalog.c -lm 
	mv a.out catalog 

