Skip to content

Commit

Permalink
Make: rename FCFLAGS to FFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Jan 3, 2020
1 parent a222c6a commit 0d80b89
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile.manual
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Fortran stdlib Makefile

FC = gfortran
FCFLAGS = -Wall -Wextra -Wimplicit-interface -fPIC -g -fcheck=all
FFLAGS = -Wall -Wextra -Wimplicit-interface -fPIC -g -fcheck=all

export FC
export FCFLAGS
export FFLAGS

.PHONY: all clean test

Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.manual
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ clean:
$(RM) $(LIB) $(OBJS) *.mod

%.o: %.f90
$(FC) $(FCFLAGS) -c $<
$(FC) $(FFLAGS) -c $<
4 changes: 2 additions & 2 deletions src/tests/ascii/Makefile.manual
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LDFLAGS = -L../.. -lstdlib
all: $(PROG)

$(PROG): $(OBJS)
$(FC) $(FCFLAGS) $(CPPFLAGS) -o $@ $(OBJS) $(LDFLAGS)
$(FC) $(FFLAGS) $(CPPFLAGS) -o $@ $(OBJS) $(LDFLAGS)

test:
./$(PROG)
Expand All @@ -19,4 +19,4 @@ clean:
$(RM) $(PROG) $(OBJS) *.mod

%.o: %.f90
$(FC) $(FCFLAGS) $(CPPFLAGS) -c $<
$(FC) $(FFLAGS) $(CPPFLAGS) -c $<
4 changes: 2 additions & 2 deletions src/tests/loadtxt/Makefile.manual
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ OBJS = $(PROGS:=.o)
all: $(PROGS)

$(PROGS): %: %.o
$(FC) $(FCFLAGS) $(CPPFLAGS) -o $@ $^ $(LDFLAGS)
$(FC) $(FFLAGS) $(CPPFLAGS) -o $@ $^ $(LDFLAGS)

test:
./test_loadtxt
Expand All @@ -23,4 +23,4 @@ clean:
$(RM) $(PROGS) $(OBJS) tmp.dat tmp_qp.dat

%.o: %.f90
$(FC) $(FCFLAGS) $(CPPFLAGS) -c $<
$(FC) $(FFLAGS) $(CPPFLAGS) -c $<

0 comments on commit 0d80b89

Please sign in to comment.