mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-04 07:02:27 -04:00
Makefile for rstest.
This commit is contained in:
parent
db71f7d480
commit
959026aad5
34
lib/superfox/Makefile
Normal file
34
lib/superfox/Makefile
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
CC = gcc
|
||||||
|
FC = gfortran
|
||||||
|
FFLAGS = -O2 -Wall -fbounds-check
|
||||||
|
CFLAGS= -O9 -Wall
|
||||||
|
|
||||||
|
# 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: rstest
|
||||||
|
|
||||||
|
OBJS2 = rstest.o init_rs_sf.o encode_rs_sf.o decode_rs_sf.o \
|
||||||
|
rs_sf.o ran1.o
|
||||||
|
rstest: $(OBJS2)
|
||||||
|
$(FC) -o rstest $(OBJS2)
|
||||||
|
|
||||||
|
init_rs_sf.o: init_rs.c
|
||||||
|
gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
|
||||||
|
encode_rs_sf.o: encode_rs.c
|
||||||
|
gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
|
||||||
|
decode_rs_sf.o: decode_rs.c
|
||||||
|
gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
|
||||||
|
|
||||||
|
.PHONY : clean
|
||||||
|
clean:
|
||||||
|
-rm -f *.o rstest.exe
|
Loading…
x
Reference in New Issue
Block a user