summaryrefslogtreecommitdiff
path: root/lib/Makefile.jt9w
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/Makefile.jt9w
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/Makefile.jt9w')
-rw-r--r--lib/Makefile.jt9w58
1 files changed, 58 insertions, 0 deletions
diff --git a/lib/Makefile.jt9w b/lib/Makefile.jt9w
new file mode 100644
index 00000000..db7bd548
--- /dev/null
+++ b/lib/Makefile.jt9w
@@ -0,0 +1,58 @@
+
+# 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 decode9w.o
+
+jt9w: $(OBJS1)
+ $(FC) -o jt9w $(OBJS1) -lfftw3f
+
+OBJS2 = t1.o four2a.o db.o
+t1: $(OBJS2)
+ $(FC) -o t1 $(OBJS2) -lfftw3f
+
+OBJS3 = t2.o four2a.o db.o
+t2: $(OBJS3)
+ $(FC) -o t2 $(OBJS3) -lfftw3f
+
+OBJS4 = t3.o four2a.o db.o
+t3: $(OBJS4)
+ $(FC) -o t3 $(OBJS4) -lfftw3f
+
+.PHONY : clean
+
+clean:
+ $(RM) *.o JTMSKcode JTMSKcode.exe