# /*@@ # @file make.subdir # @date Mon Jan 18 19:12:31 1999 # @author Tom Goodale # @desc # Makes the object files in a subdirectory # @enddesc # @version $Id$ # @@*/ # Silence all but designated output #.SILENT: # Include the main make definitions for this configuration include $(CONFIG)/make.config.defn # Add appropriate include lines INC_DIRS += $(SRCDIR) $(SRCDIR)/include EXTRA_DEFINES += THORN_IS_$(THORN) # Include the subdirectory's local include data include $(SRCDIR)/make.code.defn # Turn source file names into object file names OBJS = $(patsubst %,%.o,$(basename $(SRCS))) # Build all the object files .PHONY:all all: $(OBJS) # Rules to make the object files include $(CONFIG)/make.config.rules # Extra subdir-specific dependencies # This file isn't strictly necessary, so use -include to prevent # warnings if it is missing. -include $(SRCDIR)/make.code.deps # Dependency stuff ifneq ($(strip $(SRCS)),) -include $(patsubst %,%.d,$(basename $(SRCS))) endif