From 1fdc990e98ed42653a7e9cba401fbe88148f99d2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 18 Feb 1999 17:46:59 +0000 Subject: Part of the targopts.h change in generation patch from Ralf Corsepius . --- c/Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'c/Makefile.in') diff --git a/c/Makefile.in b/c/Makefile.in index 2f3eaaedc0..0e13451cce 100644 --- a/c/Makefile.in +++ b/c/Makefile.in @@ -62,6 +62,8 @@ CREATE_DIRS = \ tests/screens/mptests/node1 tests/screens/mptests/node2 \ build-tools update-tools +BUILD_DIRS = ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%} + # Make all/install must include 'env' # if something is added to TARGET_VARIANTS, then account for it here make_src_makefiles: Makefile.in Makefile @@ -103,12 +105,14 @@ clean_wrapup: clean_tools clean_dirs clean_modules .PHONY: dirs clean_wrapup clean_dirs clean_tools clean_modules env install -dirs: - -$(MKDIR) ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%} +$(BUILD_DIRS): + -$(MKDIR) $(BUILD_DIRS) if test -d $(PROJECT_ROOT)/c/src/lib/libhwapi; then \ (cd $(PROJECT_ROOT)/c/src/lib/libhwapi ; $(MAKE) mkdirs) \ fi +dirs: $(BUILD_DIRS) + distclean: clobber clean_dirs: -- cgit v1.2.3