ZeroTierOne/Makefile

34 lines
567 B
Makefile
Raw Normal View History

# Common makefile -- loads make rules for each platform
OSTYPE=$(shell uname -s)
ifeq ($(OSTYPE),Darwin)
include make-mac.mk
endif
ifeq ($(OSTYPE),Linux)
include make-linux.mk
endif
ifeq ($(OSTYPE),FreeBSD)
CC=clang
CXX=clang++
ZT_BUILD_PLATFORM=7
include make-bsd.mk
endif
ifeq ($(OSTYPE),OpenBSD)
2021-05-06 11:04:58 +00:00
CC=clang
CXX=clang++
ZT_BUILD_PLATFORM=9
include make-bsd.mk
endif
ifeq ($(OSTYPE),NetBSD)
include make-netbsd.mk
endif
2022-05-14 08:08:22 +00:00
drone:
@echo "rendering .drone.yaml from .drone.jsonnet"
drone jsonnet --format --stream
2023-03-31 14:29:18 +00:00
drone sign zerotier/ZeroTierOne --save