termux-api-package/Makefile
Fredrik Fornwall 1ec1334b54 Initial push
2017-04-09 18:19:29 +02:00

12 lines
274 B
Makefile

CFLAGS += -std=c11 -Wall -Wextra -pedantic -Werror
PREFIX ?= /data/data/com.termux/files/usr
termux-api: termux-api.c
install: termux-api
mkdir -p $(PREFIX)/bin/ $(PREFIX)/libexec/
install termux-api $(PREFIX)/libexec/
install scripts/* $(PREFIX)/bin/
.PHONY: install