From 7ac6293c8eff2486631ecde787cb49dd5b4f3ba0 Mon Sep 17 00:00:00 2001 From: Paul Bielski Date: Fri, 31 Mar 2017 17:02:06 -0500 Subject: [PATCH] Reduced size of generated argument list for simulation library creation --- bin/pm/make_makefile.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/pm/make_makefile.pm b/bin/pm/make_makefile.pm index 6d18e286..d1ca45de 100644 --- a/bin/pm/make_makefile.pm +++ b/bin/pm/make_makefile.pm @@ -772,7 +772,8 @@ clean_obj: clean_model_c_obj clean_model_cpp_obj clean_model_io_obj clean_lex_ya print MAKEFILE "\$(LIB_DIR)/lib_${sim_dir_name}.a : \$(OBJECTS) \$(IO_OBJECTS) \$(DEFAULT_DATA_OBJECTS)\n" ; print MAKEFILE "\t@ echo \"Creating libraries...\"\n" ; print MAKEFILE "\t\@ rm -rf \$\@\n" ; - print MAKEFILE "\tar crs \$\@ \$(LIB_DIR)/*.o || touch \$\@\n\n" ; + print MAKEFILE "\tcd \$(LIB_DIR) \; ar crs \$\@ *.o || touch \$\@\n\n" ; + # print out the sim directory libraries foreach my $l ( @{$$sim_ref{sim_libraries}} ) {