Create common Makefile that automatically loads make rules on a per-OS basis.

This commit is contained in:
Adam Ierymenko 2013-12-03 14:11:43 -08:00
parent 2133984318
commit 66cff2e98d
4 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,7 +3,6 @@
/zerotier-*
/build-ZeroTierUI-*
/ZeroTierUI/*.user
/Makefile
*.o
.DS_Store
.Apple*

11
Makefile Normal file
View 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