
OBJS = main.o input.o check.o output.o geometry.o teff.o totflux.o lines.o points.o edges.o fit.o

binary :  $(OBJS)
	cc -lm -o binary.exe $(OBJS)

main.o :  main.c header.h
	cc -c  main.c

input.o : input.c header.h
	cc -c  input.c

check.o : check.c header.h
	cc -c  check.c

output.o : output.c header.h
	cc -c  output.c

geometry.o :  geometry.c header.h
	cc -c  geometry.c

teff.o :  teff.c header.h
	cc -c  teff.c

totflux.o :  totflux.c header.h
	cc -c  totflux.c

lines.o : lines.c header.h
	cc -c  lines.c

edges.o : edges.c header.h
	cc -c  edges.c

fit.o :  fit.c header.h
	cc -c  fit.c

points.o:  points.c header.h
	cc -c  points.c

