/code/boss-cli/tags/1.7/Parsing/Makefile.inc

http://better-oblivion-sorting-software.googlecode.com/ · Unknown · 31 lines · 20 code · 11 blank · 0 comment · 0 complexity · 9bfaf0e42546396282ef3272051069a5 MD5 · raw file

  1. #
  2. # Parsing/Makefile.inc
  3. #
  4. # Variables
  5. #
  6. PARSING_SRC_DIR := Parsing
  7. PARSING_BLD_DIR := $(BUILD_DIR)/$(PARSING_SRC_DIR)
  8. PARSING_SRCS := $(wildcard $(PARSING_SRC_DIR)/*.cpp)
  9. PARSING_OBJS := $(addprefix $(BUILD_DIR)/,$(PARSING_SRCS:.cpp=.o))
  10. PARSING_DEPS := $(addprefix $(BUILD_DIR)/,$(PARSING_SRCS:.cpp=.d))
  11. TARGET_PARSING := $(PARSING_SRC_DIR)
  12. #
  13. # Targets
  14. #
  15. .PHONY: $(TARGET_PARSING)
  16. $(TARGET_PARSING): $(PARSING_BLD_DIR) $(PARSING_OBJS)
  17. $(PARSING_BLD_DIR):
  18. mkdir -p $@
  19. -include $(PARSING_DEPS)
  20. # vim:ft=make