We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 747d1bd commit 4773126Copy full SHA for 4773126
src/makefile
@@ -3,7 +3,12 @@ VERSION = 0.4
3
srcdir ?= $(CURDIR)
4
vpath %.c $(srcdir)
5
vpath %.S $(srcdir)
6
+# on Termux PREFIX is used
7
+ifneq ($(PREFIX),)
8
+prefix := $(PREFIX)
9
+else
10
prefix ?= /usr/local
11
+endif
12
DATADIR ?= $(prefix)/share/comcom64
13
CFLAGS ?= -Wall -O2 -Wmissing-declarations -Wwrite-strings \
14
-ggdb3 -Wunused -Wmissing-prototypes -flto=auto
0 commit comments