summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-07-29 19:09:26 +0100
committerNick White <git@njw.me.uk>2010-07-29 19:09:26 +0100
commitca61acd4506afb0125ae64b33f5f90ee198c0f6e (patch)
tree5025ec5d4bbf8c2494f393e0699ac236fb8e58d6 /config.mk
parent3a4a0d3f39c25adb6bc8ead135ed39634b2bcfbf (diff)
Simplify things alot, and add zoom and fullscreen
Added some documentation Improved build system Consolidated code into spout.c Added fullscreen option Added zoom option Removed unneeded functions
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..3cfc393
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,21 @@
+# See COPYING file for copyright, license and warranty details.
+
+VERSION = 1.4
+
+# paths
+PREFIX = /usr/local
+MANPREFIX = ${PREFIX}/share/man
+
+# includes and libs
+SDLINC = $(shell pkg-config --cflags sdl)
+SDLLIB = $(shell pkg-config --libs sdl)
+
+INCS = -I. -I/usr/include ${SDLINC}
+LIBS = -L/usr/lib -lc ${SDLLIB}
+
+# flags
+CFLAGS = -std=gnu99 -Wall -Werror ${INCS} -DVERSION=\"${VERSION}\"
+LDFLAGS = ${LIBS}
+
+# compiler and linker
+CC = cc