From b3ed490e8f4c438535a2cf6be1600242e1031440 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Apr 2003 04:49:22 +0000 Subject: [PATCH] use .los not .os --- build/Makefile.cwmcc | 2 +- build/Makefile.kernel | 8 ++++---- build/Makefile.obcl | 2 +- build/Makefile.render | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build/Makefile.cwmcc b/build/Makefile.cwmcc index 312d7fb3..8ee2e77d 100644 --- a/build/Makefile.cwmcc +++ b/build/Makefile.cwmcc @@ -26,7 +26,7 @@ $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d $(depdir)/%.d: $(srcdir)/%.c @echo Building dependancies for $< @$(INSTALL) -d $(depdir) - @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.o) $< + @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.lo) $< install: $(INSTALL) -d $(DESTDIR)$(libdir)/ diff --git a/build/Makefile.kernel b/build/Makefile.kernel index bcd3f6af..a58798e2 100644 --- a/build/Makefile.kernel +++ b/build/Makefile.kernel @@ -16,9 +16,9 @@ sources = action.c client.c config.c dispatch.c engine.c event.c group.c \ srcdir := $(srcdir)/$(dir) target := $(addprefix $(dir)/,$(target)) -objects := $(addprefix $(dir)/,$(sources:.c=.o)) +objects := $(addprefix $(dir)/,$(sources:.c=.lo)) sources := $(addprefix $(srcdir)/,$(sources)) -deps := $(addprefix $(depdir)/,$(objects:.o=.d)) +deps := $(addprefix $(depdir)/,$(objects:.lo=.d)) depdir := $(depdir)/$(dir) all: $(target) @@ -30,7 +30,7 @@ $(target): $(objects) render/libobrender.la $(srcdir)/%.c: $(srcdir)/%.y @ -$(dir)/%.o: $(srcdir)/%.c $(depdir)/%.d +$(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d $(COMPILE) -c -o $@ $< %.lex.c: %.l @@ -42,7 +42,7 @@ $(dir)/%.o: $(srcdir)/%.c $(depdir)/%.d $(depdir)/%.d: $(srcdir)/%.c @echo Building dependancies for $< $(INSTALL) -d $(depdir) - @$(CC) $(CPPFLAGS) $(CFLAGS) -w -MM -MF $@ -MQ $(<:.c=.o) $< + @$(CC) $(CPPFLAGS) $(CFLAGS) -w -MM -MF $@ -MQ $(<:.c=.lo) $< install: $(INSTALL) -d $(DESTDIR)$(bindir)/ diff --git a/build/Makefile.obcl b/build/Makefile.obcl index 5e40384e..c972a776 100644 --- a/build/Makefile.obcl +++ b/build/Makefile.obcl @@ -25,7 +25,7 @@ $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d $(depdir)/%.d: $(srcdir)/%.c @echo Building dependancies for $< @$(INSTALL) -d $(depdir) - @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.o) $< + @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.lo) $< install: $(INSTALL) -d $(DESTDIR)$(libdir)/ diff --git a/build/Makefile.render b/build/Makefile.render index 6f99e524..178ba971 100644 --- a/build/Makefile.render +++ b/build/Makefile.render @@ -25,7 +25,7 @@ $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d $(depdir)/%.d: $(srcdir)/%.c @echo Building dependancies for $< @$(INSTALL) -d $(depdir) - @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.o) $< + @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.lo) $< install: $(INSTALL) -d $(DESTDIR)$(libdir)/ -- 2.45.2