2006-01-09 10:06:21 -05:00
|
|
|
#Makefile for Windows
|
|
|
|
!include <dfinc.mak> #Some definitions for Compaq Visual Fortran
|
|
|
|
gcc = cl
|
|
|
|
FC = df
|
2006-09-06 14:09:05 -04:00
|
|
|
#To do bounds checking (with useless reports) put "/check:all" in the
|
|
|
|
# --opt= line below (line 56, more or less ...)
|
2006-01-09 10:06:21 -05:00
|
|
|
#FFLAGS = /traceback /check:all
|
2007-01-12 16:32:22 -05:00
|
|
|
FFLAGS = /traceback /fast /nologo /check:all
|
2006-01-09 10:06:21 -05:00
|
|
|
|
2007-01-08 15:58:40 -05:00
|
|
|
all: MAP65.EXE
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
OBJS2C = init_rs.o encode_rs.o decode_rs.o jtaudio.o
|
2007-01-09 10:16:51 -05:00
|
|
|
|
2007-01-12 12:57:41 -05:00
|
|
|
F2PYONLY = ftn_init ftn_quit audio_init getfile azdist0 astro0 \
|
|
|
|
spec map65a0
|
2007-01-09 10:16:51 -05:00
|
|
|
|
|
|
|
SRCS2F90 = a2d.f90 astro0.f90 audio_init.f90 azdist0.f90 \
|
2007-01-12 12:57:41 -05:00
|
|
|
decode1.f90 ftn_init.f90 ftn_quit.f90 wsjtgen.f90 \
|
2007-01-12 16:32:22 -05:00
|
|
|
runqqq.f90 fivehz.f90 flushqqq.f90 map65a0.f90 \
|
2007-01-17 12:50:59 -05:00
|
|
|
rfile.f90 rfile3a.f90 spec.f90 map65a.f90 display.F90 \
|
2007-01-14 21:28:58 -05:00
|
|
|
getfile.f90 getfile2.f90
|
2007-01-12 12:57:41 -05:00
|
|
|
|
|
|
|
SRCS2F77 = indexx.f gen65.f chkmsg.f \
|
|
|
|
gentone.f gencwid.f set.f db.f pctile.f sort.f ssort.f \
|
|
|
|
avemsg65.f demod64a.f encode65.f extract.f four2a.f getpfx1.f \
|
|
|
|
getpfx2.f graycode.f grid2k.f interleave63.f k2grid.f \
|
|
|
|
deep65.f morse.f nchar.f packcall.f packgrid.f \
|
|
|
|
packmsg.f packtext.f setup65.f unpackcall.f unpackgrid.f \
|
|
|
|
unpackmsg.f unpacktext.f astro.f azdist.f coord.f dcoord.f \
|
2006-01-09 10:42:44 -05:00
|
|
|
deg2grid.f dot.f ftsky.f geocentric.f GeoDist.f grid2deg.f \
|
2006-07-29 12:00:59 -04:00
|
|
|
moon2.f MoonDop.f sun.f toxyz.f pfxdump.f \
|
2007-01-14 21:28:58 -05:00
|
|
|
symspec.f ccf65.f trimlist.f chkhist.f decode1a.f \
|
2007-01-11 16:46:35 -05:00
|
|
|
filbig.f fil659.f fil658.f fil6521.f twkfreq.f decode65b.f \
|
|
|
|
afc65b.f fchisq.f ccf2.f
|
2006-01-09 10:42:44 -05:00
|
|
|
|
2007-01-11 16:46:35 -05:00
|
|
|
SRCS2C = resample.c ptt.c igray.c wrapkarn.c rfile3.c wfile3.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
2007-01-08 15:58:40 -05:00
|
|
|
MAP65.EXE: Audio.pyd map65.spec
|
|
|
|
python c:\python23\installer\Build.py map65.spec
|
2006-01-09 10:06:21 -05:00
|
|
|
|
2006-01-09 10:42:44 -05:00
|
|
|
Audio.pyd: $(OBJS2C) $(SRCS2F90) $(SRCS2F77) $(SRCS2C)
|
2006-01-09 10:06:21 -05:00
|
|
|
python f2py.py -c \
|
|
|
|
--quiet --"fcompiler=compaqv" \
|
2006-09-06 14:09:05 -04:00
|
|
|
--opt="/nologo /traceback /warn:errors /fast /fpp /define:Win32 \
|
|
|
|
/define:USE_PORTAUDIO" \
|
2006-01-09 10:06:21 -05:00
|
|
|
$(OBJS2C) \
|
2007-01-11 16:46:35 -05:00
|
|
|
-lwinmm -lpa -lfftw3single -llibsamplerate \
|
2006-01-09 10:06:21 -05:00
|
|
|
-m Audio \
|
|
|
|
only: $(F2PYONLY) : \
|
|
|
|
$(SRCS2F90) $(SRCS2F77) $(SRCS2C)
|
|
|
|
|
2007-01-08 15:58:40 -05:00
|
|
|
map65.spec: map65.py astro.py g.py options.py palettes.py smeter.py specjt.py
|
2006-01-09 10:06:21 -05:00
|
|
|
python c:\python23\installer\makespec.py --icon wsjt.ico \
|
2007-01-08 15:58:40 -05:00
|
|
|
--tk --onefile map65.py
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
jtaudio.o: jtaudio.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DWin32 /Fojtaudio.o jtaudio.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
init_rs.obj: init_rs.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DBIGSYM=1 init_rs.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
2006-09-07 14:58:49 -04:00
|
|
|
init_rs.o: init_rs.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DBIGSYM=1 /Foinit_rs.o init_rs.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
encode_rs.obj: encode_rs.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DBIGSYM=1 encode_rs.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
encode_rs.o: encode_rs.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DBIGSYM=1 /Foencode_rs.o encode_rs.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
decode_rs.obj: decode_rs.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DBIGSYM=1 decode_rs.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
decode_rs.o: decode_rs.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DBIGSYM=1 /Ox /Zd /Fodecode_rs.o decode_rs.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
wrapkarn.obj: wrapkarn.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DWin32=1 wrapkarn.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
igray.obj: igray.c
|
2006-09-06 14:09:05 -04:00
|
|
|
$(CC) /nologo /c /DWin32=1 igray.c
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
.PHONY : clean
|
|
|
|
|
|
|
|
clean:
|
2007-01-08 15:58:40 -05:00
|
|
|
-del *.o *.obj MAP65.EXE Audio.pyd
|
2006-01-09 10:06:21 -05:00
|
|
|
|
|
|
|
|