From 5ef82f9716844ce4b24a9d6fd5280ea14e2e17f7 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 1 Dec 2003 04:10:53 +0000 Subject: 2003-11-30 Ralf Corsepius * automake/compile.am: Add $(ARCH)/$(dirstamp) rules. * wrapup/Makefile.am: Reflect $(dirstamp) changes. --- cpukit/automake/compile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cpukit/automake/compile.am') diff --git a/cpukit/automake/compile.am b/cpukit/automake/compile.am index eb5b1435ef..6f4627f68c 100644 --- a/cpukit/automake/compile.am +++ b/cpukit/automake/compile.am @@ -56,10 +56,10 @@ CCLD = $(CC) CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS) -${ARCH}/%.$(OBJEXT): %.c +${ARCH}/%.$(OBJEXT): %.c $(ARCH)/$(dirstamp) ${COMPILE} -o $@ -c $< -${ARCH}/%.$(OBJEXT): %.S +${ARCH}/%.$(OBJEXT): %.S $(ARCH)/$(dirstamp) ${CCASCOMPILE} -o $@ -c $< # Make foo.rel from foo.$(OBJEXT) @@ -116,8 +116,9 @@ ARCH_DEBUG_V = o-debug ARCH__V = $(ARCH_OPTIMIZE_V) ARCH = $(ARCH_$(VARIANT_V)_V) -${ARCH}: - mkdir ${ARCH} +${ARCH}/$(dirstamp): + @$(mkinstalldirs) $(ARCH) + @: > $(ARCH)/$(dirstamp) ## Setup the library suffix LIBSUFFIX_OPTIMIZE_V = -- cgit v1.2.3