forked from docheio/tardis-vpn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (24 loc) · 1.48 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ************************************************************************************************************ #
# #
# ::::::::: :::::::: :::::::: ::: ::: :::::::::: #
# Makefile :+: :+: :+: :+: :+: :+: :+: :+: :+: #
# +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ #
# By: se-yukun <yukun@doche.io> +#+ +:+ +#+ +:+ +#+ +#++:++#++ +#++:++# #
# +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ #
# Created: 2023/08/16 21:18:12 by se-yukun #+# #+# #+# #+# #+# #+# #+# #+# #+# #
# Updated: 2023/08/16 22:46:03 by se-yukun ######### ######## ######## ### ### ##########.io. #
# #
# ************************************************************************************************************ #
NAME = tardis
$(NAME):
cargo build --release
all: $(NAME)
clean:
rm -rf ./target/release
fclean:
rm -rf ./target
rm -rf ./Cargo.lock
re: fclean all
install:
sudo install ./target/release/tardis /usr/local/bin
cp ./service/tardisd.service /etc/systemd/system/