summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-12-03 14:11:43 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-12-03 14:11:43 -0800
commit66cff2e98d5eb3aac96f586f2fa882b803dbebd0 (patch)
tree47b77fe8645653decb21acd83999d5f9cb744a49 /Makefile
parent21339843186a3aecd5f9e06fae12a5b255dfbc12 (diff)
downloadinfinitytier-66cff2e98d5eb3aac96f586f2fa882b803dbebd0.tar.gz
infinitytier-66cff2e98d5eb3aac96f586f2fa882b803dbebd0.zip
Create common Makefile that automatically loads make rules on a per-OS basis.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..ac50884c
--- /dev/null
+++ b/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