summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-07-22 13:39:11 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-07-22 13:39:11 +0000
commiteb5100ba378f9ce9465cfdd717e210c76504843e (patch)
tree2eacebb604c5a81cb9879d9d866391c2dbe91aee
parent2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-eb5100ba378f9ce9465cfdd717e210c76504843e.tar.bz2
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use .$(OBJEXT) instead of .o.
-rw-r--r--cpukit/libcsupport/ChangeLog4
-rw-r--r--cpukit/libcsupport/Makefile.am4
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/libcsupport/ChangeLog b/cpukit/libcsupport/ChangeLog
index 9750ff2e91..14e6dafec8 100644
--- a/cpukit/libcsupport/ChangeLog
+++ b/cpukit/libcsupport/ChangeLog
@@ -1,6 +1,10 @@
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * Makefile.am: Use .$(OBJEXT) instead of .o.
+
+2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* Makefile.am: Eliminate LIBNAME. Use AM_CPPFLAGS instead of
INCLUDES (Upcoming automake standard).
diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/Makefile.am
index 24751d4ca0..97b0beb932 100644
--- a/cpukit/libcsupport/Makefile.am
+++ b/cpukit/libcsupport/Makefile.am
@@ -139,7 +139,7 @@ else
C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
endif
-C_O_FILES = $(C_FILES:src/%.c=${ARCH}/%.o)
+C_O_FILES = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
OBJS = $(C_O_FILES)
#
@@ -150,7 +150,7 @@ AM_CFLAGS += $(LIBC_DEFINES)
all-local: ${ARCH} ${LIB}
-${ARCH}/%.o: src/%.c
+${ARCH}/%.$(OBJEXT): src/%.c
${COMPILE} -o $@ -c $<
$(LIB): ${OBJS}