summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-17 05:55:24 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-17 05:55:24 +0000
commit82334a1ba05ac2d3098df9018a20474f7771bcfc (patch)
tree7b79517952aa0975884bdee32c3d264d694fff89 /Makerules
parent1b04a82fba2325c45705f4c96bf17dee211fc10e (diff)
get rid of the notion of .E files as .i is the proper usage
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makerules b/Makerules
index f9810d0a1..66af3c312 100644
--- a/Makerules
+++ b/Makerules
@@ -2,7 +2,7 @@
# Licensed under LGPL v2.1, see the file COPYING.LIB in this tarball for details.
#
-.SUFFIXES: .c .S .o .os .oS .so .a .s .i .E
+.SUFFIXES: .c .S .o .os .oS .so .a .s .i
# order is important, the stripping uses STRIP_FLAGS for lib-so, but not for lib-a
ifeq ($(HAVE_SHARED),y)
@@ -101,7 +101,7 @@ cmd_t_strip = $(STRIPTOOL) $(STRIP_FLAGS) $@
cmd_ar = $(AR) $(ARFLAGS) $@ $^
compile.c = @$(disp_compile.c) ; $(cmd_compile.c)
-compile.E = $(cmd_compile.c:-c=-E)
+compile.i = $(cmd_compile.c:-c=-E -dD)
compile.s = $(cmd_compile.c:-c=-S)
compile.S = @$(disp_compile.S) ; $(cmd_compile.S)
compile.m = @$(disp_compile.m) ; $(cmd_compile.m)
@@ -154,10 +154,8 @@ CFLAGS-.oS+=$(PICFLAG) -DSHARED
%.o: %.s ; $(compile.S)
%.os: %.s ; $(compile.S)
%.oS: %.s ; $(compile.S)
-%.E: %.c ; $(compile.E)
-%.E: %.S ; $(compile.E)
-%.i: %.c ; $(compile.E)
-%.i: %.S ; $(compile.E)
+%.i: %.c ; $(compile.i)
+%.i: %.S ; $(compile.i)
%.s: %.c ; $(compile.s)
%.s: %.S ; $(compile.s)