Skip to content

Commit

Permalink
scripts/create_makefile.rb: Fix dependency of test_obj - it must depe…
Browse files Browse the repository at this point in the history
…nd on headers
  • Loading branch information
TheSomeMan committed Oct 17, 2024
1 parent 522956c commit 4f94b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create_makefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''

Expand Down

0 comments on commit 4f94b71

Please sign in to comment.