Avoid hardcoding prefix in global.mk (#11813)

This commit is contained in:
radare 2018-10-15 00:54:03 +02:00 committed by GitHub
parent 5783dd3980
commit 24ff3e276e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -23,13 +23,8 @@ endif
# verbose error messages everywhere
STATIC_DEBUG=0
PREFIX=/usr/local
rmdblslash=$(subst //,/,$(subst //,/,$(subst /$$,,$1)))
LIBDIR=${PREFIX}/lib
WWWROOT=${DATADIR}/radare2/${VERSION}/www
.c:
ifneq ($(SILENT),)
@echo LD $<
@ -45,4 +40,6 @@ endif
-include $(TOP)/config-user.mk
-include $(TOP)/mk/platform.mk
-include $(TOP)/mk/${COMPILER}.mk
WWWROOT=${DATADIR}/radare2/${VERSION}/www
endif