diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-15 23:35:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-15 23:35:56 +0000 |
commit | 274fdbb0f4ecbaf709765934493efa3688a7f601 (patch) | |
tree | c11569669d26267cfe91eed595277f79dff7aed0 | |
parent | 5da06322c21e27d5bc60459ae2f80a80d2c8162b (diff) |
add rules to handle .s and .E
-rw-r--r-- | Makerules | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -71,6 +71,7 @@ cmd_strip = $(STRIPTOOL) $(STRIP_FLAGS) $^ cmd_ar = $(AR) $(ARFLAGS) $@ $^ compile.c = @$(disp_compile.c) ; $(cmd_compile.c) +compile.E = $(cmd_compile.c:-c=-E) compile.S = @$(disp_compile.S) ; $(cmd_compile.S) compile.m = @$(disp_compile.m) ; $(cmd_compile.m) compile-m = @$(disp_compile-m) ; $(cmd_compile-m) @@ -82,18 +83,22 @@ CFLAGS-.oS+=$(PICFLAG) -DSHARED %.o: %.c $(compile.c) - %.os: %.c $(compile.c) - %.oS: %.c $(compile.c) - %.o: %.S $(compile.S) - %.os: %.S $(compile.S) +%.o: %.s + $(compile.S) +%.os: %.s + $(compile.S) +%.E: %.c + $(compile.E) +%.E: %.S + $(compile.E) #ifeq ($(HAVE_ELF),y) CRT=crt1 |