WSJT-X/lib/sfrsd2/sfrsd_paper/Makefile
Steven Franke 0930a149e8 Include mfsk.f90 in the Makefile.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6233 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 16:22:11 +00:00

36 lines
574 B
Makefile

CC = gcc
FC = gfortran
# Default rules
%.o: %.c
${CC} ${CFLAGS} -c $<
%.o: %.f
${FC} ${FFLAGS} -c $<
%.o: %.F
${FC} ${FFLAGS} -c $<
%.o: %.f90
${FC} ${FFLAGS} -c $<
%.o: %.F90
${FC} ${FFLAGS} -c $<
all: mfsk probs.out
OBJS1 = prob.o binomial_subs.o
prob: $(OBJS1)
$(FC) -o prob $(OBJS1)
OBJS2 = mfsk.o binomial_subs.o
mfsk: $(OBJS2)
$(FC) -o mfsk $(OBJS2)
probs.out: prob
# x N X s
prob 35 63 40 40 > probs.out
prob 37 63 40 45 >> probs.out
prob 37 53 40 45 >> probs.out
prob 38 53 40 47 >> probs.out
clean:
rm -rf *.o prob probs.out