wsprd Makefile now builds wsprsim too.

This commit is contained in:
K9AN 2019-03-01 17:48:57 -06:00
parent 4d5fa21821
commit 3176c1d3ef
1 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,4 @@
CC = gcc
#CC = clang-3.5
FC = gfortran
CFLAGS= -I/usr/include -Wall -Wno-missing-braces -Wno-unused-result -O3 -ffast-math
@ -19,7 +18,7 @@ LIBS = -lfftw3f -lm -lgfortran
%.o: %.F90
${FC} ${FFLAGS} -c $<
all: wsprd
all: wsprd wsprsim
DEPS = wsprsim_utils.h wsprd_utils.h fano.h jelinek.h nhash.h
@ -31,5 +30,10 @@ OBJS1 = wsprd.o wsprsim_utils.o wsprd_utils.o tab.o fano.o jelinek.o nhash.o ind
wsprd: $(OBJS1)
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) $(LIBS)
OBJS2 = wsprsim.o wsprsim_utils.o wsprd_utils.o tab.o fano.o nhash.o
wsprsim: $(OBJS2)
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) $(LIBS)
clean:
$(RM) *.o wsprd
$(RM) *.o wsprd wsprsim