diff --git a/scripts/create_makefile.rb b/scripts/create_makefile.rb index 53cac6d2..3073adea 100644 --- a/scripts/create_makefile.rb +++ b/scripts/create_makefile.rb @@ -340,7 +340,7 @@ def reject_mock_files(file) all_headers_to_mock.uniq! # Build test suite - mkfile.puts "#{test_obj}: #{test} #{module_obj} #{mock_objs.join(' ')}" + mkfile.puts "#{test_obj}: #{test} #{all_headers_to_mock.join(' ')}" mkfile.puts "\t${CC} -o $@ -c $< ${#{test_cflags_macro}} @#{TEST_MAKEFILE_INC} -I #{UNITY_SRC} -I #{CMOCK_SRC} -I #{MOCKS_DIR} ${INCLUDE_PATH}" mkfile.puts ''