#!/usr/bin/env ascript
import(module_builder) {build, extraDir}
build('freetype.azd', ['Module_freetype.cpp']) {
	msc = bcc = %{
		`dlls => ['libfreetype-6.dll', 'zlib1.dll']
		`incDirs => [
			path.join(extraDir, 'include', 'freetype')
		]
	}
	gnuc = %{
		`libs => ['freetype', 'z']
		`incDirs => ['/usr/include/freetype2', '/usr/local/include/freetype2']
		`hint => '''\
It seems necessary libraries have not been installed on your system.
See the following step(s) to resolve this problem.
- Install Debian package:
  $ sudo apt-get install libfreetype6-dev
'''
	}
}
