mirror of
https://github.com/radareorg/radius2.git
synced 2026-11-07 06:36:03 -10:00
19 lines
284 B
Makefile
19 lines
284 B
Makefile
PREFIX?=/usr/local
|
|
DESTDIR?=
|
|
BINDIR=$(DESTDIR)$(PREFIX)/bin/
|
|
|
|
all:
|
|
CMAKE_POLICY_VERSION_MINIMUM=3.5 cargo b -r
|
|
|
|
clean:
|
|
rm -rf b
|
|
|
|
install:
|
|
mkdir -p $(BINDIR)
|
|
cp -f b/target/release/radius2 $(BINDIR)/radius2
|
|
|
|
uninstall:
|
|
rm -f $(BINDIR)/radius2
|
|
|
|
.PHONY: all clean install uninstall
|