
CFLAGS=-g
CC=gcc


all: convert conheader extractjd extractdates  
	ls -lsa > all 

#  note that there is no way here to make ../ephlib: 
# go to ../sources and run the makefile there to make ../ephlib.

convert: convert.c ../ephlib
	$(CC) $(CFLAGS) convert.c ../ephlib -lm 
	mv a.out convert

conheader: conheader.c ../ephlib
	$(CC) $(CFLAGS) conheader.c ../ephlib -lm 
	mv a.out conheader

extractjd: extractjd.c ../ephlib 
	$(CC) $(CFLAGS) extractjd.c ../ephlib
	mv a.out extractjd 

extractdates: extractdates.c ../ephlib 
	$(CC) $(CFLAGS) extractdates.c ../ephlib
	mv a.out extractdates 

