mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-15 11:36:54 +02:00
22 lines
336 B
Makefile
22 lines
336 B
Makefile
# 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=gcc
|
|
CXX=g++
|
|
include make-freebsd.mk
|
|
endif
|
|
ifeq ($(OSTYPE),OpenBSD)
|
|
CC=egcc
|
|
CXX=eg++
|
|
include make-freebsd.mk
|
|
endif
|