summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2016-11-14 08:38:09 +0100
committerz3bra <contactatz3bradotorg>2016-11-14 08:38:09 +0100
commit8830214a1aa2ca54d5ef861fef8a8ec04c064b38 (patch)
treec948ee3dee71fffa9611389bd6ba70e7bdf7dd5e /config.mk
parent869e1f2cbe89b37b7b0adce2f75e1a2eb7f2450a (diff)
Revert "Compile against local toxcore submodule"
This reverts commit a1d2b63e6af32685f5828c302a0d3edeeb48090f. Ratox now compiles against the latest version of the API, so there is no need for using a local submodule anymore.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/config.mk b/config.mk
index 92f54e5..50198b6 100644
--- a/config.mk
+++ b/config.mk
@@ -5,10 +5,8 @@ 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}\" $(TOX_CFLAGS)
-CFLAGS = -g -Wall -Wunused $(CPPFLAGS)
-LDFLAGS = -g -lopus -lvpx -lpthread -lsodium
+CPPFLAGS = -DVERSION=\"${VERSION}\"
+CFLAGS = -g -I/usr/local/include -Wall -Wunused $(CPPFLAGS)
+LDFLAGS = -g -L/usr/local/lib -ltoxcore -ltoxav -ltoxencryptsave