summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-01 21:50:15 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-01 21:50:15 +0000
commit8b9c2bd0462a1185eaa4d320472106e9aa0c7646 (patch)
treef9850e6f29191eddc3e82745b0dc39425a1c5716 /Makerules
parenta37cc0c3d41ad4b7f387ed8dd74c083dcd00c6c5 (diff)
Split up the .o and .os rules, so all the sources are created if DOPIC is disabled.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index b50b8a594..da3a98e3f 100644
--- a/Makerules
+++ b/Makerules
@@ -25,13 +25,19 @@ compile-m=$(CC) $^ -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suff
CFLAGS-.os+=$(PICFLAG)
CFLAGS-.oS+=$(PICFLAG) -DSHARED
-%.o %.os: %.c
+%.o: %.c
+ $(compile.c)
+
+%.os: %.c
$(compile.c)
%.oS: %.c
$(compile.c)
-%.o %.os: %.S
+%.o: %.S
+ $(compile.S)
+
+%.os: %.S
$(compile.S)
#ifeq ($(HAVE_ELF),y)