add pmake

This commit is contained in:
Nishi 2026-05-10 03:44:22 +09:00
commit 7927d5114a
Signed by: nishi
GPG key ID: 27EF69B208EB9343
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.a
*.o
/build
*.make

8
pmake.js Normal file
View 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);
}