diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob index a066f58..5581499 100644 --- a/.fossil-settings/ignore-glob +++ b/.fossil-settings/ignore-glob @@ -5,5 +5,5 @@ docs/html/ docs/latex/ build/ obj/ -Mastodont.make +mastodont.make Makefile diff --git a/premake5.lua b/premake4.lua similarity index 60% rename from premake5.lua rename to premake4.lua index a5749a3..42b8fcc 100644 --- a/premake5.lua +++ b/premake4.lua @@ -1,22 +1,22 @@ -workspace("Mastodont"); +solution "mastodont-c" configurations { "Debug", "Release" }; -- BEGIN Mastodont project -project("Mastodont"); +project("mastodont"); kind("StaticLib"); language("C"); files { "include/*.h", "src/*.c" }; includedirs { "include/" }; -filter { "system:linux or bsd or macosx", "action:gmake" } +configuration { "linux", "bsd", "gmake" } linkoptions { "`curl-config --libs`" } linkoptions { "`pkg-config --libs cjson`" } -filter { "configurations:Debug" }; +configuration { "Debug" }; defines { "DEBUG" }; - symbols("On"); + flags("Symbols"); -filter { "configurations:Release" }; +configuration { "Release" }; defines { "NDEBUG" }; - optimize("On"); + flags("Optimize"); -- END Mastodont-c