-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: Diversions Makefiles for configure build (#811)
* Adding Makefiles and updating build system to handle new C compiler dependency and Diversions and fortglob builds * Quick update on old configure build system
- Loading branch information
1 parent
08b0888
commit d6fb60e
Showing
20 changed files
with
104 additions
and
856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Makefile | ||
# | ||
include ../../macros | ||
|
||
OBJS = \ | ||
module_diversions_timeslice.o \ | ||
module_diversions.o | ||
|
||
all: $(OBJS) | ||
|
||
%.o: %.F90 | ||
@echo "Routing Diversions Makefile:" | ||
$(COMPILER90) $(CPPINVOKE) $(CPPFLAGS) -o $(@) $(F90FLAGS) $(LDFLAGS) -I"../../mod" -I$(NETCDFINC) $(*).F90 | ||
@echo "" | ||
ar -r ../../lib/libHYDRO.a $(@) | ||
cp *.mod ../../mod | ||
|
||
|
||
fortglob_dir: | ||
make -C ../../utils/fortglob | ||
|
||
module_diversions_timeslice.o: fortglob_dir | ||
|
||
module_diversions.o: module_diversions_timeslice.o | ||
|
||
clean: | ||
rm -f *.o *.mod *.stb *~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.