use .los not .os

This commit is contained in:
Dana Jansens 2003-04-10 04:49:22 +00:00
parent 09deadf727
commit b3ed490e8f
4 changed files with 7 additions and 7 deletions

View file

@ -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)/

View file

@ -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)/

View file

@ -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)/

View file

@ -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)/