2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Use .$(OBJEXT) instead of .o.
This commit is contained in:
Ralf Corsepius
2002-07-22 13:39:11 +00:00
parent 178592c268
commit eb5100ba37
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,8 @@
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

View File

@@ -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}