forked from KolibriOS/kolibrios
switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
6
programs/develop/libraries/menuetlibc/Tupfile.lua
Normal file
6
programs/develop/libraries/menuetlibc/Tupfile.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
if tup.getconfig("TUP_PLATFORM") == "win32"
|
||||
-- on win32 '#' is not a special character, but backslash and quotes would be printed as is
|
||||
then tup.rule('echo #define NEEDS_UNDERSCORES > %o', {"config.h"})
|
||||
-- on unix '#' should be escaped
|
||||
else tup.rule('echo "#define NEEDS_UNDERSCORES" > %o', {"config.h"})
|
||||
end
|
Reference in New Issue
Block a user