Fix makefile rule for swig objects. #163

The rule should use a "|" character. We're only interested in the directory
existing, not the date on the directory.
This commit is contained in:
Alex Lin 2017-01-12 17:44:01 -06:00
parent 89939fbdc9
commit b6854521f0

View File

@ -381,7 +381,7 @@ SWIG_SRC_FILES = \$(addprefix $swig_src_dir/,\$(notdir \$(subst .o,.cpp,\$(ALL_S
\$(S_MAIN) : \$(OBJECT_DIR)/py_top.o \$(OBJECT_DIR)/init_swig_modules.o \$(OBJECT_DIR)/py_S_source.o\n
\$(LIB_DIR)/lib_${sim_dir_name}.a : \$(SWIG_MODULE_OBJECTS)
\$(SWIG_MODULE_OBJECTS) : \$(LIB_DIR)
\$(SWIG_MODULE_OBJECTS) : | \$(LIB_DIR)
#\$(LIB_DIR)/lib_${sim_dir_name}.a : \$(SWIG_MODULE_SOURCE) \$(ALL_SWIG_OBJECTS)
#\$(LIB_DIR)/lib_${sim_dir_name}.so : \$(SWIG_MODULE_SOURCE) \$(ALL_SWIG_OBJECTS)\n\n" ;