diff options
Diffstat (limited to 'libgloss/Makefile.am')
-rw-r--r-- | libgloss/Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am index a8a445b1d..a035f8d8a 100644 --- a/libgloss/Makefile.am +++ b/libgloss/Makefile.am @@ -31,6 +31,16 @@ AM_CPPFLAGS = -idirafter $(srcroot)/include noinst_LIBRARIES = libobjs.a libobjs_a_SOURCES = +## Some convenience rules for debugging programs. +%.dis: % + $(AM_V_GEN)$(OBJDUMP) -d $< > $@ +%.bin: % + $(AM_V_GEN)$(OBJCOPY) -O binary $< $@ +%.hex: % + $(AM_V_GEN)$(OBJCOPY) -O ihex $< $@ +%.srec: % + $(AM_V_GEN)$(OBJCOPY) -O srec $< $@ + ## These are roughly topologically sorted in order to make porting more ## streamlined. FLAGS_TO_PASS = \ |