aboutsummaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
new file mode 100644
index 0000000..17f2140
--- /dev/null
+++ b/SConstruct
@@ -0,0 +1,8 @@
+
+sources = ['redshift.c', 'solar.c', 'colortemp.c']
+
+env = Environment()
+env.ParseConfig('pkg-config --cflags --libs xcb xcb-randr')
+env.Program('redshift', sources,
+ CFLAGS='-std=c99 -D_BSD_SOURCE',
+ LINKFLAGS='-lm')