trema/paper-house

View on GitHub
examples/static_library/Rakefile

Summary

Maintainability
Test Coverage
# encoding: utf-8

require 'paper_house'

task hello: :libhello

PaperHouse::StaticLibraryTask.new :libhello do | task |
  task.sources = 'hello.c'
end

PaperHouse::ExecutableTask.new :hello do | task |
  task.ldflags = '-L.'
  task.sources = 'main.c'
end