From 575f2cfbe5cdf4d28334d3c743c2796b10be2d65 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 1 Dec 2005 08:13:38 +0000 Subject: add support for generating .s files for debug purposes --- Makerules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makerules') diff --git a/Makerules b/Makerules index bf570a900..8ad50aa4e 100644 --- a/Makerules +++ b/Makerules @@ -94,6 +94,7 @@ hcompile.o = $(HOSTCC) $^ $(DEPS-$(notdir $@)) -c -o $@ $(BUILD_CFLAGS) $(BUILD_ compile.c = @$(disp_compile.c) ; $(cmd_compile.c) compile.E = $(cmd_compile.c:-c=-E) +compile.s = $(cmd_compile.c:-c=-S) compile.S = @$(disp_compile.S) ; $(cmd_compile.S) compile.m = @$(disp_compile.m) ; $(cmd_compile.m) compile-m = @$(disp_compile-m) ; $(cmd_compile-m) @@ -126,6 +127,8 @@ CFLAGS-.oS+=$(PICFLAG) -DSHARED %.oS: %.s ; $(compile.S) %.E: %.c ; $(compile.E) %.E: %.S ; $(compile.E) +%.s: %.c ; $(compile.s) +%.s: %.S ; $(compile.s) $(top_builddir)lib/interp.c: $(Q)$(INSTALL) -d $(dir $@) -- cgit v1.2.3