home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Makefiles / pb_makefiles / tool.make < prev    next >
Text File  |  1996-12-05  |  703b  |  33 lines

  1. #
  2. # tool.make
  3. #
  4. # Variable definitions and rules for building tool projects.  A tool is
  5. # an executable file such as cc or ls.  Any resources required by the
  6. # tool must be linked into the executable.
  7. #
  8. # PUBLIC TARGETS
  9. #    tool: synonymous with all
  10. #
  11. # IMPORTED VARIABLES
  12. #    none
  13. #
  14. # EXPORTED VARIABLES
  15. #    none
  16. #
  17.  
  18. .PHONY: tool all
  19. tool: all
  20. PROJTYPE = TOOL
  21.  
  22. PRODUCT = $(PRODUCT_DIR)/$(NAME)$(EXECUTABLE_EXT)
  23. PRODUCTS = $(PRODUCT)
  24. STRIPPED_PRODUCTS = $(PRODUCT)
  25.  
  26. include $(MAKEFILEDIR)/common.make
  27. -include $(LOCAL_MAKEFILEDIR)/tool.make.preamble
  28.  
  29. $(PRODUCT): $(DEPENDENCIES)
  30.     $(CC) -o $(PRODUCT) $(ALL_LDFLAGS) $(ARCHITECTURE_FLAGS) $(LOADABLES)
  31.  
  32. -include $(LOCAL_MAKEFILEDIR)/tool.make.postamble
  33.