mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-08 10:06:11 -05:00
c83b1556e5
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6416 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
42 lines
764 B
Makefile
42 lines
764 B
Makefile
CC = gcc
|
|
CXX = g++
|
|
FC = gfortran
|
|
AR = ar cr
|
|
MKDIR = mkdir -p
|
|
CP = cp
|
|
RANLIB = ranlib
|
|
RM = rm -f
|
|
|
|
FFLAGS = -O2 -Wall -Wno-conversion -fbounds-check -fno-second-underscore -DUNIX
|
|
CFLAGS = -I. -fPIE
|
|
|
|
# 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 $<
|
|
%.mod: %.f90
|
|
${FC} ${FFLAGS} -c $<
|
|
|
|
#all: jt4.mod testjt4 testfast9
|
|
all: JTMSKsim
|
|
|
|
OBJS1 = JTMSKsim.o genmsk.o makepings.o genmsk_short.o jtmsk_short.o \
|
|
hash.o nhash.o golay24_table.o vit213.o tab.o gran.o
|
|
JTMSKsim: $(OBJS1)
|
|
$(FC) -o JTMSKsim $(OBJS1) -L. libwsjt_fort.a -lfftw3f
|
|
|
|
nhash.o: wsprd/nhash.c
|
|
$(CC) -c wsprd/nhash.c
|
|
|
|
.PHONY : clean
|
|
|
|
clean:
|
|
$(RM) *.o JTMSKsim
|