Browse Source

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

pull/1/head
Adam Ierymenko 12 years ago
parent
commit
66cff2e98d
  1. 1
      .gitignore
  2. 11
      Makefile
  3. 0
      make-linux.mk
  4. 0
      make-mac.mk

1
.gitignore vendored

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

11
Makefile

@ -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

0
Makefile.linux → make-linux.mk

0
Makefile.mac → make-mac.mk

Loading…
Cancel
Save