diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-01 08:13:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-01 08:13:38 +0000 |
commit | 575f2cfbe5cdf4d28334d3c743c2796b10be2d65 (patch) | |
tree | c50d7e2bbb86ac69ad15c1e6c1904031e16e572c | |
parent | ef9d85126313450371f2b007544eb81930263a0c (diff) |
add support for generating .s files for debug purposes
-rw-r--r-- | Makerules | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 $@) |