Sha256: 52406fbc144822bbcff704df918c792da9d2776290e7401388a3e2ad614b9a9d

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# This Makefile will get replaced by qmake.

if Gem.win_platform?
  qmake = %{qmake -spec win32-g++}
elsif RUBY_PLATFORM =~ /darwin/i || RbConfig::CONFIG['target_os'] == 'darwin'
  qmake = %{qmake -spec macx-g++}
else
  qmake = %{qmake}
end

File.open("Makefile", "w") do |mf|
  mf.puts <<-ENDM
all:
	cd embed; #{qmake}
	cd standalone; #{qmake}
	make -C embed
	make -C standalone
  ENDM
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sunscraper-1.1.0.beta1 ext/extconf.rb