aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-10-07 16:39:46 +0200
committerMattias Andrée <maandree@kth.se>2019-10-07 16:39:46 +0200
commit5eb6165d6806f5656802a6f58feea9469dad6141 (patch)
tree46fc5bc7fa308d73ed722059163098dca7c96c22 /config.mk
parentAdd cg-shallow, minor fixes, and bump year (diff)
downloadcg-tools-5eb6165d6806f5656802a6f58feea9469dad6141.tar.gz
cg-tools-5eb6165d6806f5656802a6f58feea9469dad6141.tar.bz2
cg-tools-5eb6165d6806f5656802a6f58feea9469dad6141.tar.xz
Reorganise, change license, portable makefile, and reference radharc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..a3ec1ce
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,8 @@
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+
+PKGNAME = cg-tools
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D'PKGNAME="$(PKGNAME)"'
+CFLAGS = -std=c99 -Wall -O2
+LDFLAGS = -lcoopgamma -lm -s