From 3c29c5dc4d3b8ce1da4425a1b6bbe857518f617b Mon Sep 17 00:00:00 2001 From: starkos Date: Tue, 21 Apr 2009 20:00:17 +0000 Subject: [PATCH] Default makefiles to native platform --- src/actions/make/make_cpp.lua | 2 +- src/actions/make/make_solution.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/make/make_cpp.lua b/src/actions/make/make_cpp.lua index e5a9ac6d..5d24ccac 100644 --- a/src/actions/make/make_cpp.lua +++ b/src/actions/make/make_cpp.lua @@ -9,7 +9,7 @@ local cc = premake[_OPTIONS.cc] -- build a list of supported target platforms that also includes a generic build - local platforms = premake.filterplatforms(prj.solution, cc.platforms) + local platforms = premake.filterplatforms(prj.solution, cc.platforms, "Native") -- write a quick header _p('# %s project makefile autogenerated by Premake', premake.actions[_ACTION].shortname) diff --git a/src/actions/make/make_solution.lua b/src/actions/make/make_solution.lua index a5149333..25f12fff 100644 --- a/src/actions/make/make_solution.lua +++ b/src/actions/make/make_solution.lua @@ -9,7 +9,7 @@ local cc = premake[_OPTIONS.cc] -- build a list of supported target platforms that also includes a generic build - local platforms = premake.filterplatforms(sln, cc.platforms) + local platforms = premake.filterplatforms(sln, cc.platforms, "Native") -- write a header showing the build options local cfgpairs = { }