2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Use .$(OBJEXT) instead of .o.
This commit is contained in:
Ralf Corsepius
2002-12-11 06:37:47 +00:00
parent 3907075fdc
commit 595c4bc230
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -1,3 +1,7 @@
2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use .$(OBJEXT) instead of .o.
2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Introduce sapi_C_FILES, rtems_C_FILES.
+2 -2
View File
@@ -18,11 +18,11 @@ C_O_FILES += $(rtems_C_FILES:rtems/%.c=${ARCH}/%.$(OBJEXT))
PGMS = $(rtems_C_FILES:rtems/%.c=$(ARCH)/%$(LIB_VARIANT).rel)
PGMS += $(sapi_C_FILES:sapi/%.c=$(ARCH)/%$(LIB_VARIANT).rel)
${ARCH}/%.o: sapi/%.c
${ARCH}/%.$(OBJEXT): sapi/%.c
test -d $(ARCH) || mkdir $(ARCH)
${COMPILE} -o $@ -c $<
${ARCH}/%.o: rtems/%.c
${ARCH}/%.$(OBJEXT): rtems/%.c
test -d $(ARCH) || mkdir $(ARCH)
${COMPILE} -o $@ -c $<