mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-19 05:38:43 +00:00
24 lines
403 B
Makefile
24 lines
403 B
Makefile
include ../../../config-user.mk
|
|
P=${DESTDIR}${DATADIR}/radare2/${VERSION}/cons
|
|
|
|
all clean:
|
|
|
|
.PHONY: all clean install install-symlink symstall
|
|
|
|
install: ${F_SDB}
|
|
rm -rf "$P"
|
|
mkdir -p "$P"
|
|
cp -f * "$P"
|
|
|
|
CWD=$(shell pwd)
|
|
symstall install-symlink:
|
|
mkdir -p "$P"
|
|
for FILE in * ; do \
|
|
if [ $$FILE != Makefile ]; then \
|
|
ln -fs "${CWD}/$$FILE" "$P/$$FILE" ; \
|
|
fi ; \
|
|
done
|
|
|
|
uninstall:
|
|
rm -rf "$P"
|