Makefile 1022 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ################################################################################
  2. #
  3. # Copyright (c) 2017 Minoca Corp.
  4. #
  5. # This file is licensed under the terms of the GNU General Public License
  6. # version 3. Alternative licensing terms are available. Contact
  7. # info@minocacorp.com for details. See the LICENSE file at the root of this
  8. # project for complete licensing information.
  9. #
  10. # Binary Name:
  11. #
  12. # spawn (Build)
  13. #
  14. # Abstract:
  15. #
  16. # This Chalk module implements subprocess functionality.
  17. #
  18. # Author:
  19. #
  20. # Evan Green 21-Jun-2017
  21. #
  22. # Environment:
  23. #
  24. # POSIX
  25. #
  26. ################################################################################
  27. BINARY := spawn.a
  28. BINARYTYPE = library
  29. BUILD = yes
  30. INCLUDES += $(SRCDIR)/..;
  31. VPATH += $(SRCDIR)/..:
  32. include $(SRCDIR)/../sources
  33. OS ?= $(shell uname -s)
  34. ifeq ($(OS),$(filter Windows_NT cygwin,$(OS)))
  35. OBJS += $(WIN32_OBJS)
  36. else
  37. OBJS += $(POSIX_OBJS)
  38. endif
  39. DIRS := dynamic \
  40. include $(SRCROOT)/os/minoca.mk
  41. dynamic: $(BINARY)