25 lines
487 B
Makefile
25 lines
487 B
Makefile
# Compiling flags
|
|
CFLAGS = -O3
|
|
|
|
# Linking flags
|
|
LFLAGS = -lcpgplot -lpgplot -lX11 -lpng -lm
|
|
|
|
# Compiler
|
|
CC = gcc
|
|
|
|
all:
|
|
make rfedit rfplot rffft
|
|
|
|
rfedit: rfedit.o rfio.o rftime.o
|
|
$(CC) -o rfedit rfedit.o rfio.o rftime.o -lm
|
|
|
|
rfplot: rfplot.o rftime.o rfio.o rfoverlay.o sgdp4.o satutl.o deep.o ferror.o
|
|
gfortran -o rfplot rfplot.o rftime.o rfio.o rfoverlay.o sgdp4.o satutl.o deep.o ferror.o $(LFLAGS)
|
|
|
|
rffft: rffft.o
|
|
$(CC) -o rffft rffft.o -lm -lfftw3f
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f *~
|