-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmakefile
More file actions
23 lines (18 loc) · 691 Bytes
/
Copy pathmakefile
File metadata and controls
23 lines (18 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# I made some changes here so that you use gfortran rather than f77, as I was using on my machine
# make clean will remove old o and e files
# make gnssSNR or make gnssSNR.e will make the executable
FFLAGS =
LDARGS =
OBJFILES = gnssSNR.o read_sp3_200sats.o read_header_25obs.o pick_9points.o dpolint.o moving_sites.o get_azel_sp3.o librariesSNRv3.o read_block_gnss.o write_gnss_to_file.o unixlib.o
.PHONY: gnssSNR
gnssSNR: gnssSNR.e
%.o: %.f
gfortran -c $<
# this is what you need to maek a static executable
#gnssSNR.e: $(OBJFILES)
# gfortran -static-libgfortran $(OBJFILES) -o gnssSNR.e
gnssSNR.e: $(OBJFILES)
gfortran $(OBJFILES) -o gnssSNR.e
.PHONY: clean
clean:
rm -f *.o *.e