summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct9
1 files changed, 9 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
new file mode 100644
index 0000000..633e300
--- /dev/null
+++ b/SConstruct
@@ -0,0 +1,9 @@
+from os import environ
+
+env = Environment(ENV={"PATH": environ["PATH"],
+ "TERM": environ["TERM"]},
+ CC="gcc",
+ CFLAGS=["-std=c11", "-Wall", "-Wextra", "-Wpedantic", "-Werror", "-ggdb3", "-Og"],
+ CPPPATH=["include"])
+
+env.Program("build/hashtable", ["test/hashtable.c", "src/hashtable.c"])