aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-10-06 19:13:50 +0000
committerRoland McGrath <roland@gnu.org>1992-10-06 19:13:50 +0000
commit603bee3c228177edbd013ff9c3771c23ed173947 (patch)
tree832b982666713939e79abe89b252f7b27222029c /sysdeps
parent1b52c9d5a4af33eccaa116a5c266ac05fdfc628a (diff)
downloadglibc-603bee3c228177edbd013ff9c3771c23ed173947.tar
glibc-603bee3c228177edbd013ff9c3771c23ed173947.tar.gz
glibc-603bee3c228177edbd013ff9c3771c23ed173947.tar.bz2
glibc-603bee3c228177edbd013ff9c3771c23ed173947.zip
Formerly m68k/Makefile.~3~
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/m68k/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile
index 4690591cba..09f3b4355e 100644
--- a/sysdeps/m68k/Makefile
+++ b/sysdeps/m68k/Makefile
@@ -3,3 +3,9 @@
# No existing m68k ports use Motorola syntax.
crypt := crypt.sun3 # Use uf-crypt/crypt.sun3.S.
+
+# Disgusting magic to get `#'s into the asm code.
+$(objpfx)%.o: %.S
+ $(CC) $(CPPFLAGS) -E $< \
+ | sed 's/(@@@Hash-Here@@@)/#/g' | $(AS) $(ASFLAGS) -o $@
+.S-rule := t