mkvtoolnix/rake.d/application.rb
2010-08-01 11:12:43 +02:00

13 lines
327 B
Ruby

class Application < Target
def initialize(exe)
super exe + c(:EXEEXT)
end
def create_specific
file @target => @dependencies do |t|
runq " LINK #{t.name}", "#{c(:CXX)} #{c(:LDFLAGS)} #{c(:LIBDIRS)} #{$system_libdirs} -o #{t.name} #{@objects.join(" ")} #{@libraries.join(" ")}"
end
self
end
end