mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 00:51:56 -05:00
8cef34fe11
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6665 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
72 lines
1.5 KiB
Makefile
72 lines
1.5 KiB
Makefile
|
|
# 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: jt9code JTMSKcode
|
|
all: jtmsk JTMSKcode
|
|
|
|
OBJS4 = jt9code.o packjt.o fmtmsg.o gen9.o deg2grid.o grid2deg.o \
|
|
entail.o encode232.o interleave9.o graycode.o igray.o
|
|
jt9code: $(OBJS4)
|
|
$(FC) -o jt9code $(OBJS4)
|
|
|
|
OBJS5 = JTMSKcode.o packjt.o fmtmsg.o genmsk.o deg2grid.o grid2deg.o \
|
|
entail.o nhash.o tab.o vit213.o
|
|
JTMSKcode: $(OBJS5)
|
|
$(FC) -o JTMSKcode $(OBJS5)
|
|
|
|
OBJS6 = jtmsk.o jtmsk.o analytic.o four2a.o db.o mskdf.o pctile.o \
|
|
sort.o tweak1.o syncmsk.o genmsk.o packjt.o fmtmsg.o indexx.o \
|
|
deg2grid.o grid2deg.o entail.o nhash.o tab.o vit213.o
|
|
jtmsk: $(OBJS6)
|
|
$(FC) -o jtmsk $(OBJS6) -lfftw3f
|
|
|
|
OBJS1 = t1.o four2a.o db.o
|
|
t1: $(OBJS1)
|
|
$(FC) -o t1 $(OBJS1) -lfftw3f
|
|
|
|
OBJS2 = t2.o four2a.o db.o
|
|
t2: $(OBJS2)
|
|
$(FC) -o t2 $(OBJS2) -lfftw3f
|
|
|
|
OBJS6 = t6.o four2a.o db.o
|
|
t6: $(OBJS6)
|
|
$(FC) -o t6 $(OBJS6) -lfftw3f
|
|
|
|
nhash.o: wsprd/nhash.h wsprd/nhash.c
|
|
$(CC) -c -O2 wsprd/nhash.c
|
|
|
|
.PHONY : clean
|
|
|
|
clean:
|
|
$(RM) *.o JTMSKcode JTMSKcode.exe
|