mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 20:58:55 -05:00
f9d0a1863a
This merge brings the WSPR feature development into the main line ready for release in a future v1.6 release. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5424 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
40 lines
764 B
Makefile
40 lines
764 B
Makefile
#CC = gcc
|
|
CC = clang
|
|
FC = gfortran
|
|
|
|
FFLAGS = -O2 -Wall -Wno-conversion
|
|
CFLAGS= -I/usr/include -Wall -Wno-missing-braces -O2
|
|
LDFLAGS = -L/usr/lib
|
|
LIBS = -lfftw3 -lm
|
|
|
|
# Default rules
|
|
%.o: %.c $(DEPS)
|
|
${CC} ${CFLAGS} -c $<
|
|
%.o: %.f
|
|
${FC} ${FFLAGS} -c $<
|
|
%.o: %.F
|
|
${FC} ${FFLAGS} -c $<
|
|
%.o: %.f90
|
|
${FC} ${FFLAGS} -c $<
|
|
%.o: %.F90
|
|
${FC} ${FFLAGS} -c $<
|
|
|
|
all: wsprd WSPRcode test_wspr
|
|
|
|
DEPS = fano.h
|
|
OBJS1 = wsprd.o wsprd_utils.o fano.o tab.o nhash.o
|
|
wsprd: $(OBJS1)
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) $(LIBS)
|
|
|
|
OBJS2 = test_wspr.o unpk.o wsprd_utils.o nhash.o
|
|
test_wspr: $(OBJS2) libwspr.a
|
|
$(FC) -o test_wspr $(FFLAGS) $(OBJS2) libwspr.a
|
|
|
|
|
|
OBJS3 = WSPRcode.o
|
|
WSPRcode: $(OBJS3) libwspr.a
|
|
$(FC) -o WSPRcode $(FFLAGS) $(OBJS3) libwspr.a
|
|
|
|
clean:
|
|
rm *.o wsprd
|