958f6a1310
for HP assembler versus GNU assembler based on actual behavior of $(CC), rather than assuming that $(AS) is always the GNU assembler.
12 lines
352 B
Mathematica
12 lines
352 B
Mathematica
weird.o: $(srcdir)/weird.def $(srcdir)/hppa.sed
|
|
sed -f $(srcdir)/hppa.sed <$(srcdir)/weird.def >weird.s
|
|
if $(CC) -c weird.s 2>errs; then \
|
|
true; \
|
|
else \
|
|
if grep 'Directive name not recognized - STABS' errs \
|
|
>/dev/null; then \
|
|
echo HP assembler in use--skipping stabs tests; true; \
|
|
else \
|
|
cat errs; false; \
|
|
fi; \
|
|
fi
|