mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-26 03:54:32 -04:00
Added c functions necessary for packing/coding and demonstration/simulation program wsprsim.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5606 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+10
-15
@@ -1,9 +1,9 @@
|
||||
#CC = gcc
|
||||
CC = clang
|
||||
CC = gcc
|
||||
#CC = clang
|
||||
FC = gfortran
|
||||
|
||||
FFLAGS = -O2 -Wall -Wno-conversion
|
||||
CFLAGS= -I/usr/include -Wall -Wno-missing-braces -O2
|
||||
CFLAGS= -g -I/usr/include -Wall -Wno-missing-braces -O2
|
||||
LDFLAGS = -L/usr/lib
|
||||
LIBS = -lfftw3 -lm
|
||||
|
||||
@@ -19,21 +19,16 @@ LIBS = -lfftw3 -lm
|
||||
%.o: %.F90
|
||||
${FC} ${FFLAGS} -c $<
|
||||
|
||||
all: wsprd WSPRcode test_wspr
|
||||
all: wsprd wsprsim
|
||||
|
||||
DEPS = fano.h
|
||||
OBJS1 = wsprd.o wsprd_utils.o fano.o tab.o nhash.o
|
||||
DEPS = wsprsim_utils.h wsprd_utils.h fano.h
|
||||
OBJS1 = wsprd.o wsprd_utils.o tab.o fano.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
|
||||
OBJS4 = wsprsim.o wsprsim_utils.o wsprd_utils.o tab.o fano.o nhash.o
|
||||
wsprsim: $(OBJS4)
|
||||
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm *.o wsprd
|
||||
rm *.o wsprd wsprsim
|
||||
|
||||
Reference in New Issue
Block a user