From 63b68796e8d2f1bf8de975b4594856fc83a79d51 Mon Sep 17 00:00:00 2001 From: llpcarson Date: Mon, 14 Aug 2017 21:30:30 +0000 Subject: [PATCH 1/2] makefile update: list $(OBJS) to create the dynamic library --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index c0e8b9e25..a2a1888d3 100644 --- a/makefile +++ b/makefile @@ -167,7 +167,7 @@ OBJS = $(OBJS_f) $(OBJS_f90) $(OBJS_F) $(OBJS_F90) $(OBJS_c) all default: depend $(LIBRARY) $(LIBRARY): $(OBJS) - $(FC) -shared -Wl,-soname,$(LIBRARY).$(VER_MAJOR) -o $(LIBRARY).$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) + $(FC) -shared -Wl,-soname,$(LIBRARY).$(VER_MAJOR) $(OBJS) -o $(LIBRARY).$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) ln -sf $(LIBRARY).$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) $(LIBRARY) ln -sf $(LIBRARY).$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) $(LIBRARY).$(VER_MAJOR) From 1c6fb1036d8eb24da55b383443e01ec7778dd78c Mon Sep 17 00:00:00 2001 From: Laurie Date: Mon, 14 Aug 2017 15:37:37 -0600 Subject: [PATCH 2/2] makefile updates for dynamic lib --- makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/makefile b/makefile index c0e8b9e25..a547da291 100644 --- a/makefile +++ b/makefile @@ -67,7 +67,6 @@ SRCS_f = \ ./physics/moninshoc.f \ ./physics/mstadb.f \ ./physics/mstadbtn.f \ - ./physics/mstadbtn2.f \ ./physics/mstcnv.f \ ./physics/namelist_soilveg.f \ ./physics/ozne_def.f \ @@ -77,7 +76,6 @@ SRCS_f = \ ./physics/precpd.f \ ./physics/precpd_shoc.f \ ./physics/precpdp.f \ - ./physics/precpd_shoc.f \ ./physics/progt2.f \ ./physics/progtm_module.f \ ./physics/rad_initialize.f \ @@ -110,8 +108,6 @@ SRCS_f = \ ./physics/sflx.f \ ./physics/shalcnv.f \ ./physics/shalcv.f \ - ./physics/shalcv_1lyr.f \ - ./physics/shalcv_fixdp.f \ ./physics/shalcv_opr.f \ ./physics/tracer_const_h.f \ ./physics/tridi2t3.f @@ -167,7 +163,7 @@ OBJS = $(OBJS_f) $(OBJS_f90) $(OBJS_F) $(OBJS_F90) $(OBJS_c) all default: depend $(LIBRARY) $(LIBRARY): $(OBJS) - $(FC) -shared -Wl,-soname,$(LIBRARY).$(VER_MAJOR) -o $(LIBRARY).$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) + $(FC) -shared -Wl,-soname,$(LIBRARY).$(VER_MAJOR) $(OBJS) -o $(LIBRARY).$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) ln -sf $(LIBRARY).$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) $(LIBRARY) ln -sf $(LIBRARY).$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) $(LIBRARY).$(VER_MAJOR)