Rakefile: check header changes
This commit is contained in:
parent
256363bd15
commit
2f67cbe979
2
Rakefile
2
Rakefile
|
@ -143,7 +143,7 @@ task :doc => ["Doxyfile", "README.md"] do |t|
|
|||
end
|
||||
|
||||
desc "compile source into object"
|
||||
rule '.o' => ['.c', "#{LIBOPENCM3_LIB}/lib#{STM32F1_LIB}.a"] do |t|
|
||||
rule '.o' => ['.c', '.h', "#{LIBOPENCM3_LIB}/lib#{STM32F1_LIB}.a"] do |t|
|
||||
sh "#{CC} #{cflags} #{archflags} -o #{t.name} -c #{t.prerequisites[0]}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue