-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update makefile so that it calls SOILWAT2's makefile to create libSOI…
…LWAT2 - address #483 - contribute to DrylandEcology/SOILWAT2#89 --> the subfolder path of SOILWAT2 occurs now consistently on the STEPWAT2 side: 1) makefile variable "path_sw2" 2) in the include header directives (see previous commit) --> if SOILWAT2 changes its file organization, then search/replace of "sw_src" with the new value can now be done Other changes: - since CC is hard-coded to gcc, I defined CXX to g++ so that compilation occurs only within compiler families (and not potentially across, e.g., in case CXX would be defined as clang++) - helper targets to run STEPWAT2 executable in example folder, i.e., `bint_testing_nongridded` and `bint_testing_gridded`, also compiled unit tests, but never run the unit tests --> removed dependency on unit test target --> added a separate make target "run_tests" which compiles and runs the STEPWAT2 unit tests Note: The warning "SW_Main_lib.c:56:6: warning: no previous prototype for function 'usage' [-Wmissing-prototypes]" is fixed with SOILWAT2 commit a44e5688e7799c44b72b017a724ee7ee857531cc (dev-branch enhance_petfunc)
- Loading branch information
Showing
1 changed file
with
39 additions
and
43 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