scc

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

commit 0f26c8763b866ce0953902552f81292bab90e2de
parent 637042eb36cc12796998698cb6a79558d6c5d242
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed,  5 Jan 2022 15:11:30 +0100

build: Use /usr/local as default PREFIX

Scc was using $HOME as default PREFIX because it was not mature
enough to be installed in a system path. The situation is
different now, and it can be installed in a system path with less
problems.

Diffstat:
MMakefile | 2+-
Msrc/cmd/cc/posix/Makefile | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -10,7 +10,7 @@ DIRS =\ PROJECTDIR = . include $(PROJECTDIR)/scripts/rules.mk -PREFIX = $(HOME) +PREFIX = /usr/local ROOT = $(DESTDIR)$(PREFIX) NODEP = 1 diff --git a/src/cmd/cc/posix/Makefile b/src/cmd/cc/posix/Makefile @@ -1,5 +1,6 @@ .POSIX: +PREFIX = /usr/local PROJECTDIR = ../../../.. include $(PROJECTDIR)/scripts/rules.mk