Makefile.in-os 394 B

12345678910111213141516171819
  1. #
  2. # Copyright (c) 2013 No Face Press, LLC
  3. # License http://opensource.org/licenses/mit-license.php MIT License
  4. #
  5. ifeq ($(OS),Windows_NT)
  6. TARGET_OS = WIN32
  7. else
  8. UNAME_S := $(shell uname -s)
  9. ifeq ($(UNAME_S),Linux)
  10. TARGET_OS = LINUX
  11. else
  12. ifeq ($(UNAME_S),Darwin)
  13. TARGET_OS = OSX
  14. else
  15. TARGET_OS = BSD
  16. endif
  17. endif
  18. endif