diff options
author | Mike Hommey <mh@glandium.org> | 2012-04-12 15:19:20 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-04-12 19:52:36 (GMT) |
commit | fd5c36466d0665b26bd96badc1416b61bd55802e (patch) | |
tree | e927e52d525045802c079bd6fc326ca1f039fd73 /Makefile.in | |
parent | 927893b4784f732a2b8006a0490293ab18d0c2cf (diff) | |
download | jemalloc-fd5c36466d0665b26bd96badc1416b61bd55802e.zip jemalloc-fd5c36466d0665b26bd96badc1416b61bd55802e.tar.gz jemalloc-fd5c36466d0665b26bd96badc1416b61bd55802e.tar.bz2 |
Use -MT options to build dependency files
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 3bdfeaf..59ac103 100644 --- a/Makefile.in +++ b/Makefile.in @@ -104,12 +104,12 @@ build_doc: $(DOCS) @objroot@src/%.o: @srcroot@src/%.c @mkdir -p $(@D) $(CC) $(CFLAGS) -c $(CPPFLAGS) -o $@ $< - @$(SHELL) -ec "$(CC) -MM $(CPPFLAGS) $< | sed \"s/\($(subst /,\/,$(notdir $(basename $@)))\)\.o\([ :]*\)/$(subst /,\/,$(strip $(dir $@)))\1.o \2/g\" > $(@:%.o=%.d)" + $(CC) -MM $(CPPFLAGS) -MT $@ -o $(@:%.o=%.d) $< @objroot@src/%.pic.o: @srcroot@src/%.c @mkdir -p $(@D) $(CC) $(CFLAGS) -fPIC -DPIC -c $(CPPFLAGS) -o $@ $< - @$(SHELL) -ec "$(CC) -MM $(CPPFLAGS) $< | sed \"s/\($(subst /,\/,$(notdir $(basename $(basename $@))))\)\.o\([ :]*\)/$(subst /,\/,$(strip $(dir $@)))\1.pic.o \2/g\" > $(@:%.o=%.d)" + $(CC) -MM $(CPPFLAGS) -MT $@ -o $(@:%.o=%.d) $< %.$(SO) : %.$(SO).$(REV) @mkdir -p $(@D) @@ -130,7 +130,7 @@ build_doc: $(DOCS) @objroot@test/%.o: @srcroot@test/%.c @mkdir -p $(@D) $(CC) $(CFLAGS) -c $(CPPFLAGS) -I@objroot@test -o $@ $< - @$(SHELL) -ec "$(CC) -MM $(CPPFLAGS) -I@objroot@test $< | sed \"s/\($(subst /,\/,$(notdir $(basename $@)))\)\.o\([ :]*\)/$(subst /,\/,$(strip $(dir $@)))\1.o \2/g\" > $(@:%.o=%.d)" + $(CC) -MM $(CPPFLAGS) -I@objroot@test -MT $@ -o $(@:%.o=%.d) $< @objroot@test/%: @objroot@test/%.o \ @objroot@lib/libjemalloc@install_suffix@.$(SO) |