summaryrefslogtreecommitdiffstats
path: root/cpukit/automake
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-12-01 04:10:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-12-01 04:10:53 +0000
commit5ef82f9716844ce4b24a9d6fd5280ea14e2e17f7 (patch)
tree9ebc93b032eafff834070ed417ade61183c14a33 /cpukit/automake
parent2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-5ef82f9716844ce4b24a9d6fd5280ea14e2e17f7.tar.bz2
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Add $(ARCH)/$(dirstamp) rules. * wrapup/Makefile.am: Reflect $(dirstamp) changes.
Diffstat (limited to 'cpukit/automake')
-rw-r--r--cpukit/automake/compile.am9
1 files changed, 5 insertions, 4 deletions
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 =