Premake is a build script generator. Write a small Lua program describing your project, and then use Premake to generate input files for any of these toolsets: * GNU make * MS Visual Studio 6 * MS Visual Studio 7 * ...more on the way! -- TODO -- * ${PATCHDIR}/patch-ab is only for *BSD * This is a "configure" replacement, could be nice to add a new directive as GNU_CONFIGURE for "premake" like: USE_PREMAKE=YES
24 lines
641 B
Makefile
24 lines
641 B
Makefile
# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/07/22 16:51:30 poppnk Exp $
|
|
#
|
|
# This Makefile fragment is included by packages that use premake.
|
|
#
|
|
# This file was created automatically using createbuildlink 2.6.
|
|
#
|
|
|
|
.if !defined(PREMAKE_BUILDLINK2_MK)
|
|
PREMAKE_BUILDLINK2_MK= # defined
|
|
|
|
BUILDLINK_PACKAGES+= premake
|
|
BUILDLINK_DEPENDS.premake?= premake>=1.2
|
|
BUILDLINK_PKGSRCDIR.premake?= ../../wip/premake
|
|
|
|
EVAL_PREFIX+= BUILDLINK_PREFIX.premake=premake
|
|
BUILDLINK_PREFIX.premake_DEFAULT= ${LOCALBASE}
|
|
|
|
.include "../../lang/lua/buildlink2.mk"
|
|
|
|
BUILDLINK_TARGETS+= premake-buildlink
|
|
|
|
premake-buildlink: _BUILDLINK_USE
|
|
|
|
.endif # PREMAKE_BUILDLINK2_MK
|