target = "zip2exe"

files = Split("""
	main.cpp
	zlib/ioapi.c
	zlib/unzip.c
""")

resources = Split("""
	zip2exe.xml
	icon.ico
""")

rc = 'res.rc'

libs = Split("""
	user32
	gdi32
	comctl32
	comdlg32
	advapi32
	shell32
	z
""")

headers = Split("""
	Base.nsh
	Classic.nsh
	Modern.nsh
""")

Import('BuildUtil defenv')

BuildUtil(target, files, libs, res = rc, resources = resources)

defenv.DistributeContrib(headers,path=target)
