From: Dana Jansens Date: Thu, 10 Apr 2003 04:49:22 +0000 (+0000) Subject: use .los not .os X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=b3ed490e8f4c438535a2cf6be1600242e1031440;p=chaz%2Fopenbox use .los not .os --- 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)/