some common macroses

This commit is contained in:
Devaev Maxim
2021-03-30 02:18:40 +03:00
parent 01bc0529e7
commit 04d1d3d5a6
12 changed files with 72 additions and 143 deletions

View File

@@ -1,3 +1,5 @@
import os
from distutils.core import Extension
from distutils.core import setup
@@ -16,11 +18,8 @@ if __name__ == "__main__":
"ustreamer",
libraries=["rt", "m", "pthread"],
undef_macros=["NDEBUG"],
sources=["ustreamer.c"],
depends=[
"../src/libs/tools.h",
"../src/libs/memsinksh.h",
],
sources=[name for name in os.listdir(".") if name.endswith(".c")],
depends=[name for name in os.listdir(".") if name.endswith(".h")],
),
],
)