#!lua

workspace "kru24dos"
    configurations { "Release" }
    platforms { "dos" }

    project "kru24dos"
        kind "ConsoleApp"
        language "C"
        files { "../src/*.h", "../src/*.c", "../src/sprites/*.*", "../src/maps/*.*" }
        links { "alleg", }
        targetname "kru24dos"
        targetdir "build"

        filter { "Configurations:Release" }
            defines { "NEDEBUG", "ALLEGRO4" }
            symbols "On"

        filter { "platforms:dos" }
            makesettings [[
                CC=c:\\include\\djgpp\\bin\\i386-pc-msdosdjgpp-gcc
            ]]
            libdirs { "c:\\include\\djgpp\\i386-pc-msdosdjgpp\\lib"}
            includedirs { "c:\\include\\djgpp\\i386-pc-msdosdjgpp\\include" }
