mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-28 23:40:15 +00:00
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-configure.m4: Add RTEMS_CHECK_MULTIPROCESSING. * automake/compile.am: Add test -d $(ARCH) || mkdir $(ARCH) to all compilation rules (Work-around to an automake bug). * automake/lib.am: Add test -d $(ARCH) || mkdir $(ARCH) to make-library.
This commit is contained in:
@@ -107,25 +107,32 @@ AS = $(CC)
|
||||
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
|
||||
|
||||
${ARCH}/%.o: %.c
|
||||
test -d $(ARCH) || mkdir $(ARCH)
|
||||
${COMPILE} -o $@ -c $<
|
||||
|
||||
${ARCH}/%.o: %.cc
|
||||
test -d $(ARCH) || mkdir $(ARCH)
|
||||
${CXXCOMPILE} -o $@ -c $<
|
||||
|
||||
${ARCH}/%.o: %.cpp
|
||||
test -d $(ARCH) || mkdir $(ARCH)
|
||||
${CXXCOMPILE} -o $@ -c $<
|
||||
|
||||
${ARCH}/%.o: %.cxx
|
||||
test -d $(ARCH) || mkdir $(ARCH)
|
||||
${CXXCOMPILE} -o $@ -c $<
|
||||
|
||||
${ARCH}/%.o: %.C
|
||||
test -d $(ARCH) || mkdir $(ARCH)
|
||||
${CXXCOMPILE} -o $@ -c $<
|
||||
|
||||
${ARCH}/%.o: %.S
|
||||
test -d $(ARCH) || mkdir $(ARCH)
|
||||
${ASCOMPILE} -DASM -o $@ -c $<
|
||||
|
||||
# Make foo.rel from foo.o
|
||||
${ARCH}/%.rel: ${ARCH}/%.o
|
||||
test -d $(ARCH) || mkdir $(ARCH)
|
||||
${make-rel}
|
||||
|
||||
# Dependency files for use by gmake
|
||||
|
||||
Reference in New Issue
Block a user