mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-08 18:16:02 -05:00
12d5ec8902
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6241 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
39 lines
864 B
Makefile
39 lines
864 B
Makefile
# Makefile for Windows in JTSDK-PY environment
|
|
|
|
# Re-direct stdout and stderr: cmd.exe bash
|
|
# make > junk 2>&1 make &> junk
|
|
|
|
CC = gcc
|
|
FC = gfortran
|
|
|
|
FFLAGS = -O2 -DWIN32 -fbounds-check -fno-second-underscore -Wall \
|
|
-Wno-conversion -Wno-character-truncation
|
|
CFLAGS = -I. -DWIN32 -DWin32 -DBIGSYM -DHAVE_STRUCT_TIMESPEC
|
|
|
|
# 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: rsdtest
|
|
|
|
# Build rsdtest
|
|
OBJS2 = rsdtest.o extract2.o demod64b.o sfrsd3.o
|
|
rsdtest: $(OBJS2) ../libjt.a
|
|
$(FC) -o rsdtest $(OBJS2) ../libjt.a ../libpthreadGC2.a
|
|
|
|
sfrsd: sfrsd.o encode_rs_int.o decode_rs_int.o init_rs_int.o
|
|
gcc -g -o $@ $^
|
|
|
|
.PHONY : clean
|
|
|
|
clean:
|
|
rm -rf *.o libjt.a rsdtest sfrsd
|