old-cross-binutils/gdb/testsuite/gdb.stabs/ecoff.mt
Jim Kingdon aad143dc5d * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 05:35:22 +00:00

7 lines
287 B
Mathematica

# This configuration is for a gcc that uses mips-tfile. If your gcc
# uses gas, you should configure gdb --with-gnu-as.
#
weird.o: $(srcdir)/weird.def $(srcdir)/weird-ecoff.sed
sed -e '/.long/.word/' <$(srcdir)/weird.def | \
sed -f $(srcdir)/weird-ecoff.sed >weird.s
$(CC) -c weird.s