Makefile 559 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Toplevel userland makefile for OS/161.
  3. #
  4. TOP=..
  5. .include "$(TOP)/mk/os161.config.mk"
  6. # lib must be first.
  7. # SUBDIRS=lib bin sbin testbin
  8. # UW Mod
  9. SUBDIRS=lib bin sbin testbin uw-testbin my-testbin
  10. INCLUDES=\
  11. include include \
  12. include/sys include/sys \
  13. include/types include/types
  14. INCLUDELINKS=\
  15. kern/machine include/machine \
  16. $(MACHINE) include/kern/machine
  17. .include "$(TOP)/mk/os161.subdir.mk"
  18. .include "$(TOP)/mk/os161.includes.mk"
  19. includes: hostincludes
  20. hostincludes:
  21. (cd lib/hostcompat && $(MAKE) includes)
  22. .PHONY: includes hostincludes