summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2016-10-31 21:25:10 +0100
committerz3bra <contactatz3bradotorg>2016-10-31 21:25:10 +0100
commita1d2b63e6af32685f5828c302a0d3edeeb48090f (patch)
tree496f70190f02d448a3423fd61d0d61ef6137ee18 /config.mk
parent6ab4139a1aa0a49ac8fa08429fcf929405f43df6 (diff)
Compile against local toxcore submodule
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 50198b6..92f54e5 100644
--- a/config.mk
+++ b/config.mk
@@ -5,8 +5,10 @@ VERSION = 0.2.1
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
+TOX_CFLAGS = -I./toxcore/toxcore -I./toxcore/toxav -I./toxcore/toxencryptsave -I/usr/include/opus
+
CC = cc
LD = $(CC)
-CPPFLAGS = -DVERSION=\"${VERSION}\"
-CFLAGS = -g -I/usr/local/include -Wall -Wunused $(CPPFLAGS)
-LDFLAGS = -g -L/usr/local/lib -ltoxcore -ltoxav -ltoxencryptsave
+CPPFLAGS = -DVERSION=\"${VERSION}\" $(TOX_CFLAGS)
+CFLAGS = -g -Wall -Wunused $(CPPFLAGS)
+LDFLAGS = -g -lopus -lvpx -lpthread -lsodium