mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-05 00:41:19 -05:00
3124648fbc
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7636 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
85 lines
2.4 KiB
Makefile
85 lines
2.4 KiB
Makefile
# Compilers
|
|
CC = gcc
|
|
CXX = g++
|
|
FC = gfortran
|
|
|
|
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: dbpsksim.exe
|
|
|
|
OBJS0 = testpsk.o four2a.o bpfilter.o nonlinear.o tweak1.o spectrum.o smo.o
|
|
testpsk: $(OBJS0)
|
|
$(FC) -o testpsk $(OBJS0) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS1 = gmsk8.o four2a.o gaussfilt.o
|
|
gmsk8: $(OBJS1)
|
|
$(FC) -o gmsk8 $(OBJS1) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS2 = testfsk.o four2a.o smo.o
|
|
testfsk: $(OBJS2)
|
|
$(FC) -o testfsk $(OBJS2) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS3 = fsk2sim.o four2a.o smo.o wavhdr.o gran.o
|
|
fsk2sim: $(OBJS3)
|
|
$(FC) -o fsk2sim $(OBJS3) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS4 = fsk4sim.o four2a.o gran.o genfsk4.o smo.o getsnr.o spec4.o \
|
|
watterson.o db.o snr2_wsprlf.o pctile.o shell.o snr_wsprlf.o
|
|
fsk4sim.exe: $(OBJS4)
|
|
$(FC) -o fsk4sim.exe $(OBJS4) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS5 = wsprlf.o four2a.o downsample.o
|
|
wsprlf.exe: $(OBJS5)
|
|
$(FC) -o wsprlf.exe $(OBJS5) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS6 = wspr_gmsk.o four2a.o gaussfilt.o
|
|
wspr_gmsk.exe: $(OBJS6)
|
|
$(FC) -o wspr_gmsk.exe $(OBJS6) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS7 = wspr_msk.o four2a.o bpfilter.o
|
|
wspr_msk.exe: $(OBJS7)
|
|
$(FC) -o wspr_msk.exe $(OBJS7) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS8 = dbpsksim.o four2a.o gran.o genbpsk.o watterson.o db.o \
|
|
encode120.o bpdecode120.o platanh.o
|
|
dbpsksim.exe: $(OBJS8)
|
|
$(FC) -o dbpsksim.exe $(OBJS8) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS9 = fsk4a.o four2a.o gran.o genfsk4a.o spec4.o \
|
|
watterson.o db.o
|
|
fsk4a.exe: $(OBJS9)
|
|
$(FC) -o fsk4a.exe $(OBJS9) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS10 = gmsk8.o gaussfilt.o four2a.o
|
|
gmsk8.exe: $(OBJS10)
|
|
$(FC) -o gmsk8.exe $(OBJS10) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS11 = gmsksim.o four2a.o gran.o gengmsk.o genbpsk.o watterson.o db.o \
|
|
encode168.o bpdecode168.o platanh.o gaussfilt.o tweak1.o smo121.o
|
|
gmsksim.exe: $(OBJS11)
|
|
$(FC) -o gmsksim.exe $(OBJS11) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
OBJS12 = mskhfsim.o four2a.o gran.o genmskhf.o watterson.o db.o \
|
|
encode168.o bpdecode168.o platanh.o twkfreq1.o smo121.o \
|
|
polyfit4.o
|
|
mskhfsim.exe: $(OBJS12)
|
|
$(FC) -o mskhfsim.exe $(OBJS12) C:\JTSDK\fftw3f\libfftw3f-3.dll
|
|
|
|
.PHONY : clean
|
|
|
|
clean:
|
|
$(RM) *.o testpsk.exe testfsk.exe fsk2sim.exe fsk4sim.exe wsprlf.exe
|