2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* automake/compile.am: Add $(ARCH)/$(dirstamp) rules.
This commit is contained in:
Ralf Corsepius
2003-12-02 04:36:06 +00:00
parent c17ed71126
commit 306a66e689
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Add $(ARCH)/$(dirstamp) rules.
2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/lead-dot.m4: New (from automake-1.7f).

View File

@@ -90,15 +90,19 @@ CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
AS = $(CC)
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
${ARCH}/%.o: %.c
${ARCH}/%.o: %.c $(ARCH)/$(dirstamp)
${COMPILE} -o $@ -c $<
${ARCH}/%.o: %.cc
${ARCH}/%.o: %.cc $(ARCH)/$(dirstamp)
${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.S
${ARCH}/%.o: %.S $(ARCH)/$(dirstamp)
${CCASCOMPILE} -DASM -o $@ -c $<
${ARCH}/$(dirstamp):
@$(mkinstalldirs) $(ARCH)
@: > $(ARCH)/$(dirstamp)
# Dependency files for use by gmake
# NOTE: we don't put them into $(ARCH)
# so that 'make clean' doesn't blow it away