add Rscons.glob - close #50

This commit is contained in:
josh committed 2018-08-23 11:26:20 -04:00
1 parent 57de94a3fb
commit c7f66694ab
17 files changed
+64 -35

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
Rscons::Environment.new(echo: :command) do |env|
env["ARCMD"] = %w[ar rcf ${_TARGET} ${_SOURCES}]
env.Library("lib.a", Dir["*.c"].sort)
env.Library("lib.a", Rscons.glob("*.c"))
end