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); +}