mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 20:41:44 -07: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
|