# Set paths EXE_DIR = ..\\..\\wsjtx_install QT_DIR = C:/wsjt-env/Qt5/5.2.1/mingw48_32 FFTW3_DIR = .. INCPATH = -I${QT_DIR}/include/QtCore -I${QT_DIR}/include # Compilers CC = gcc CXX = g++ FC = gfortran AR = ar cr RANLIB = ranlib MKDIR = mkdir -p CP = cp RM = rm -f FFLAGS = -O2 -fbounds-check -Wall -Wno-conversion CFLAGS = -O2 -I. # 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: jt9w OBJS1 = jt9w.o smo.o sync9w.o pctile.o shell.o lorentzian.o fchisq0.o \ softsym9w.o four2a.o interleave9.o jt9fano.o fano232.o packjt.o \ deg2grid.o grid2deg.o fmtmsg.o db.o jt9w: $(OBJS1) $(FC) -o jt9w $(OBJS1) -lfftw3f .PHONY : clean clean: $(RM) *.o JTMSKcode JTMSKcode.exe