CC=	gcc
OPTS=	-O
CFLAGS = $(OPTS)

TARGETS = autocov_sder em_est_gauss peak_grid wold_joint

SRCS = util.c $(TARGETS:=.c)
OBJS = util.o 

all:	$(OBJS) ${TARGETS}

util.o:		util.h
peak_grid:	peak_grid.h
wold_joint:	wold_joint.h

.c:
	$(CC) $(CFLAGS) -o $@ util.o $< -lm

