Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
987fdf2c
Commit
987fdf2c
authored
Feb 15, 2002
by
Niels Möller
Browse files
(%.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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
987fdf2c
...
@@ -55,7 +55,8 @@ SUFFIXES = .asm
...
@@ -55,7 +55,8 @@ SUFFIXES = .asm
# can be overridden during development, eg. "make RM_TMP=: aes.o"
# can be overridden during development, eg. "make RM_TMP=: aes.o"
RM_TMP
=
rm
-f
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
$(M4)
`
test
-f
$<
||
echo
'
$(srcdir)
/'
`
$<
>
tmp-
$*
.s
$(COMPILE)
-c
tmp-
$*
.s
-o
$@
$(COMPILE)
-c
tmp-
$*
.s
-o
$@
$(RM_TMP)
tmp-
$*
.s
$(RM_TMP)
tmp-
$*
.s
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment