From 7927d5114a764edd2f447d20ca65f834b20c4e0c Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sun, 10 May 2026 03:44:22 +0900 Subject: [PATCH] add pmake --- .gitignore | 1 + pmake.js | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 pmake.js diff --git a/.gitignore b/.gitignore index 4a432b5..ea1e225 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.a *.o /build +*.make diff --git a/pmake.js b/pmake.js new file mode 100644 index 0000000..664d78c --- /dev/null +++ b/pmake.js @@ -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); +}