Opened 15 years ago
Last modified 15 years ago
#508 closed bug
Assignment of SCRATCH_DIR in the main Makefile out of place — at Initial Version
| Reported by: | colucix | Owned by: | arango | 
|---|---|---|---|
| Priority: | trivial | Milestone: | Release ROMS/TOMS 3.5 | 
| Component: | Nonlinear | Version: | 3.5 | 
| Keywords: | makefile | Cc: | 
Description
I'd like to report a minor bug in the latest revision 554. At the beginning of the main makefile, has been added the assignment
libraries := $(SCRATCH_DIR)/libUTIL.a
but the SCRATCH_DIR environment variable is assigned afterward, after the end of the user-defined section. We should move the assignment of SCRATCH_DIR at the beginning, to avoid an error at compilation time, e.g.
make: *** No rule to make target `/libUTIL.a', needed by `oceanM'. Stop
where is obvious that the value $(SCRATCH_DIR) is still null.
  Note:
 See   TracTickets
 for help on using tickets.
    
