subdirectory support
This commit is contained in:
parent
7ce5bd3cf3
commit
96f3fa1f70
9 changed files with 109 additions and 29 deletions
11
external/duktape/pmake.js
vendored
Normal file
11
external/duktape/pmake.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function main() {
|
||||
const duktape = new pmake.LibraryProject("duktape");
|
||||
duktape.sources = fs.glob("*.c");
|
||||
duktape.includes = [ "." ];
|
||||
|
||||
if(pmake.system.target == "Unix") {
|
||||
duktape.libraries = [ "m" ];
|
||||
}
|
||||
|
||||
pmake.register(duktape);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue