Add support for DESTDIR variable in make install.

This commit is contained in:
Andrius Štikonas 2021-04-02 12:24:40 +01:00
parent dcec416d0f
commit 70d1fc4163
60 changed files with 147 additions and 163 deletions

View file

@ -13,7 +13,7 @@ CC = tcc
LD = tcc
AR = tcc -ar
bindir=/after/bin
bindir=$(DESTDIR)$(PREFIX)/bin
CFLAGS = -I . -I lib \
-DPACKAGE=\"$(PACKAGE)\" \