summaryrefslogtreecommitdiffstats
path: root/cpukit/automake
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-07-26 12:51:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-07-26 12:51:02 +0000
commitc3efdb3ea96b68d407223d1d5e920ab0728514d6 (patch)
tree83a3dfcade25c4c216cd7110a4be41ebcb2af47d /cpukit/automake
parent2002-07-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-c3efdb3ea96b68d407223d1d5e920ab0728514d6.tar.bz2
2002-07-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Use .$(OBJEXT) instead of .o.
Diffstat (limited to 'cpukit/automake')
-rw-r--r--cpukit/automake/compile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/automake/compile.am b/cpukit/automake/compile.am
index c132e49d55..33f37ca4bd 100644
--- a/cpukit/automake/compile.am
+++ b/cpukit/automake/compile.am
@@ -77,14 +77,14 @@ CCLD = $(CC)
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
-${ARCH}/%.o: %.c
+${ARCH}/%.$(OBJEXT): %.c
${COMPILE} -o $@ -c $<
-${ARCH}/%.o: %.S
+${ARCH}/%.$(OBJEXT): %.S
${CCASCOMPILE} -o $@ -c $<
-# Make foo.rel from foo.o
-${ARCH}/%.rel: ${ARCH}/%.o
+# Make foo.rel from foo.$(OBJEXT)
+${ARCH}/%.rel: ${ARCH}/%.$(OBJEXT)
${make-rel}
# Dependency files for use by gmake
@@ -105,7 +105,7 @@ CLOBBER_DEPEND=$(DEPEND)
## FIXME: The approach below is known to be conceptionally broken.
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
## Use gcc -M to generate dependencies
-## Replace foo.o with $(ARCH)/foo.o
+## Replace foo.$(OBJEXT) with $(ARCH)/foo.$(OBJEXT)
## Replace $(ARCH) value with string $(ARCH)
## so that it will for debug and profile cases
$(COMPILE) -M $^ | \