termux-api-package/Makefile

12 lines
274 B
Makefile
Raw Normal View History

2017-04-09 18:19:29 +02:00
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