Added Makefile

This commit is contained in:
Ludvig Strigeus 2018-08-08 23:27:58 +02:00
parent f5c69d4eee
commit 7026ebfe1a

23
Makefile Normal file
View file

@ -0,0 +1,23 @@
UNAME := $(shell uname)
.PHONY: tunsafe
ifeq ($(UNAME), Linux)
tunsafe:
sh ./build_linux.sh
endif
ifeq ($(UNAME), FreeBSD)
tunsafe:
sh ./build_freebsd.sh
endif
ifeq ($(UNAME), Darwin)
tunsafe:
sh ./build_osx.sh
endif
install:
cp tunsafe /usr/bin