Sha256: be65a69f6cffbdc038cc7e0eae7defd76bbb53c7289efed3567294b850f7e01c

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

# I fell in love with this: https://stackoverflow.com/questions/9274205/rake-watch-for-changes

file 'main.o' => ['main.c', 'greet.h'] do
  sh 'cc -c -o main.o main.c'
end

file 'greet.o' => ['greet.c'] do
  sh 'cc -c -o greet.o greet.c'
end

file 'hello' => ['main.o', 'greet.o'] do
  sh 'cc -o hello main.o greet.o'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storazzo-0.6.1 var/test/disks/disk02-full/Rakefile