Formerly m68k/Makefile.~4~

This commit is contained in:
Roland McGrath 1993-02-24 23:22:43 +00:00
parent 8fdeef183c
commit d9179a0922

View File

@ -2,10 +2,10 @@
# way to choose a sysdep file based on MIT vs Motorola syntax.
# No existing m68k ports use Motorola syntax.
crypt := crypt.sun3 # Use uf-crypt/crypt.sun3.S.
crypt := crypt.sun3 # Use 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
define compile-command.S
$(CC) $(CPPFLAGS) -E $< \
| sed 's/(@@@Hash-Here@@@)/#/g' | $(AS) $(ASFLAGS) -o $@
endef