16 lines
315 B
Diff
16 lines
315 B
Diff
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -1,8 +1,8 @@
|
|
-CXX = g++
|
|
+CXX ?= g++
|
|
TARGET = glue
|
|
-BINDIR = /usr/local/bin
|
|
-CXXFLAGS = -Wall -O2 --static -std=c++11
|
|
-LDFLAGS = -lm
|
|
+BINDIR = @TERMUX_PREFIX@/bin
|
|
+CXXFLAGS ?= -Wall -O2 --static -std=c++11
|
|
+LDFLAGS ?= -lm
|
|
SRCS := $(wildcard *.cc)
|
|
OBJS := $(SRCS:.cc=.o)
|
|
|