aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-20 23:20:05 +0100
committerMattias Andrée <maandree@kth.se>2021-02-20 23:20:11 +0100
commit91ce2e7e5c8c7659237b89b8c4a072b1c46b1fca (patch)
treeae87077ad8d6aaa4cbb064f092fe3b380b9852d6 /config.mk
parentupdate dist (diff)
downloadcrt-calibrator-91ce2e7e5c8c7659237b89b8c4a072b1c46b1fca.tar.gz
crt-calibrator-91ce2e7e5c8c7659237b89b8c4a072b1c46b1fca.tar.bz2
crt-calibrator-91ce2e7e5c8c7659237b89b8c4a072b1c46b1fca.tar.xz
misc + change license + remove info manual1.3.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..1288e57
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,6 @@
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -std=c99 -Wall $$(pkg-config --cflags libdrm)
+LDFLAGS = -lm $$(pkg-config --libs libdrm)