aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2010-04-21 15:46:13 -0400
committermutantturkey <crazycal00@gmail.com>2010-04-21 15:46:13 -0400
commit8fd2ff4f3a6cc8552cfd7746a773425144f715ad (patch)
tree9e2feab2f83c248623c1ac35633fdb118cf2ecd1 /config.mk
initial stuff
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..30e8f87
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,28 @@
+# mocicon version:
+VERSION = 0.1.4
+
+# Customize below to fit your system
+
+# paths
+PREFIX = /usr
+MANPREFIX = ${PREFIX}/share/man
+
+
+# includes and libs
+
+GTKINC=$(shell pkg-config --cflags gtk+-2.0 vte )
+GTKLIB=$(shell pkg-config --libs gtk+-2.0 vte )
+
+INCS = -I. -I/usr/include ${GTKINC}
+LIBS = -L/usr/lib -lc ${GTKLIB}
+# flags
+CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CFLAGS = -std=c99 -O3 ${INCS} ${CPPFLAGS}
+LDFLAGS = -s ${LIBS}
+
+# Solaris
+#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
+#LDFLAGS = ${LIBS}
+
+# compiler and linker
+CC = cc