mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Create common Makefile that automatically loads make rules on a per-OS basis.
This commit is contained in:
parent
2133984318
commit
66cff2e98d
4 changed files with 11 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,7 +3,6 @@
|
||||||
/zerotier-*
|
/zerotier-*
|
||||||
/build-ZeroTierUI-*
|
/build-ZeroTierUI-*
|
||||||
/ZeroTierUI/*.user
|
/ZeroTierUI/*.user
|
||||||
/Makefile
|
|
||||||
*.o
|
*.o
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.Apple*
|
.Apple*
|
||||||
|
|
11
Makefile
Normal file
11
Makefile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# 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
|
Loading…
Add table
Reference in a new issue