mirror of
https://github.com/danog/termux-api-package.git
synced 2024-11-30 04:39:01 +01:00
12 lines
274 B
Makefile
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
|