Commit 987fdf2c authored by Niels Möller's avatar Niels Möller

(%.asm): Use a GNU pattern rule, to make %.o depend

on both %.asm and asm.m4.

Rev: src/nettle/Makefile.am:1.32
parent f3833d1e
......@@ -55,7 +55,8 @@ SUFFIXES = .asm
# can be overridden during development, eg. "make RM_TMP=: aes.o"
RM_TMP = rm -f
.asm.o:
# FIXME: How to write this without using GNU make features?
%.o: %.asm asm.m4
$(M4) `test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s
$(COMPILE) -c tmp-$*.s -o $@
$(RM_TMP) tmp-$*.s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment