scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 6b5fcb86c0175ecb678edf3b77194b7ffff2bc49
parent 044ed044112af8996f280664833682a4f437016f
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sat, 30 Oct 2021 23:22:30 +0200

install: Fix DESTDIR handling

Diffstat:
MMakefile | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -10,8 +10,8 @@ DIRS =\ PROJECTDIR = . include $(PROJECTDIR)/scripts/rules.mk -PREFIX= $(HOME) -ROOT=$(DESTDIR)$(PREFIX) +PREFIX = $(HOME) +ROOT = $(DESTDIR)$(PREFIX) NODEP = 1 all: @@ -19,11 +19,11 @@ all: +@$(MAKE) `$(SCRIPTDIR)/config` `uname -m` install: - $(SCRIPTDIR)/install $(PREFIX) + $(SCRIPTDIR)/install $(ROOT) +@$(MAKE) install-`uname -m` uninstall: - $(SCRIPTDIR)/uninstall $(PREFIX) + $(SCRIPTDIR)/uninstall $(ROOT) +@$(MAKE) uninstall-`uname -m` #############################################################