use .los not .os
This commit is contained in:
parent
09deadf727
commit
b3ed490e8f
4 changed files with 7 additions and 7 deletions
|
@ -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)/
|
||||
|
|
|
@ -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)/
|
||||
|
|
|
@ -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)/
|
||||
|
|
|
@ -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)/
|
||||
|
|
Loading…
Reference in a new issue