medfall

A super great game engine
Log | Files | Refs

commit 1f30711e16def96f0586bca50322f9c81ae10732
parent fe06da6e26f30150ad7c2bf2a2255cf16e889638
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat, 11 Nov 2017 12:30:35 +0200

mkdir in rc build rules

Diffstat:
scripts/gen_makefile.lua | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/gen_makefile.lua b/scripts/gen_makefile.lua @@ -199,11 +199,13 @@ function rc( rc_name ) if OS == "windows" then printf( "%s/%s%s: %s.rc %s.xml", dir, rc_name, obj_suffix, rc_name, rc_name ) printf( "\t@printf \"\\033[1;33mbuilding $@\\033[0m\\n\"" ) + printf( "\t@mkdir -p \"$(@D)\"" ) printf( "\t@rc /fo$@ /nologo $<" ) else local cxx = rightmost( "cxx" ) printf( "%s/%s%s:", dir, rc_name, obj_suffix ) printf( "\t@printf \"\\033[1;33mbuilding $@\\033[0m\\n\"" ) + printf( "\t@mkdir -p \"$(@D)\"" ) printf( "\t@%s -c -x c++ /dev/null -o $@", cxx ) end end