make the parent depdir
This commit is contained in:
parent
926074bf3a
commit
f0c7edec62
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
plugins_dir:=plugins
|
plugins_dir:=plugins
|
||||||
plugins_srcdir:=$(srcdir)/$(plugins_dir)
|
plugins_srcdir:=$(srcdir)/$(plugins_dir)
|
||||||
|
plugins_depdir:=$(depdir)/$(plugins_dir)
|
||||||
|
|
||||||
plugins_resistance_dir:=$(plugins_dir)
|
plugins_resistance_dir:=$(plugins_dir)
|
||||||
plugins_resistance_srcdir:=$(plugins_srcdir)
|
plugins_resistance_srcdir:=$(plugins_srcdir)
|
||||||
|
@ -65,6 +66,7 @@ $(plugins_placement_dir)/%.lo: $(plugins_placement_srcdir)/%.c $(plugins_placeme
|
||||||
|
|
||||||
$(plugins_placement_depdir)/%.d: $(plugins_placement_srcdir)/%.c $(depdir)
|
$(plugins_placement_depdir)/%.d: $(plugins_placement_srcdir)/%.c $(depdir)
|
||||||
@echo Building dependancies for $<
|
@echo Building dependancies for $<
|
||||||
|
@mkdir $(plugins_depdir) 2> /dev/null || true
|
||||||
@mkdir $(dir $@) 2> /dev/null || true
|
@mkdir $(dir $@) 2> /dev/null || true
|
||||||
@$(CC) $(plugins_placement_CPPFLAGS) $(CFLAGS) -w -MM -MF $@ -MQ $(<:.c=.lo) $<
|
@$(CC) $(plugins_placement_CPPFLAGS) $(CFLAGS) -w -MM -MF $@ -MQ $(<:.c=.lo) $<
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue