add pmake
This commit is contained in:
parent
1eb90f4df8
commit
7927d5114a
2 changed files with 9 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
*.a
|
||||
*.o
|
||||
/build
|
||||
*.make
|
||||
|
|
|
|||
8
pmake.js
Normal file
8
pmake.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function main(){
|
||||
const PPR = new pmake.LibraryProject("ppr");
|
||||
PPR.sources = fs.glob("src/*.c", "src/base/*.c", "src/hash/*.c", "src/misc/*.c");
|
||||
PPR.includes = ["include"];
|
||||
PPR.libs = ["pthread"];
|
||||
|
||||
pmake.register(PPR);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue