From: Dana Jansens Date: Thu, 3 Apr 2003 14:23:42 +0000 (+0000) Subject: make the parent depdir X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=f0c7edec62913a8d057b7d0defec7c45ac3fc94e;p=chaz%2Fopenbox make the parent depdir --- diff --git a/build/Makefile.plugins b/build/Makefile.plugins index ba23c556..aad5ec1e 100644 --- a/build/Makefile.plugins +++ b/build/Makefile.plugins @@ -1,5 +1,6 @@ plugins_dir:=plugins plugins_srcdir:=$(srcdir)/$(plugins_dir) +plugins_depdir:=$(depdir)/$(plugins_dir) plugins_resistance_dir:=$(plugins_dir) 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) @echo Building dependancies for $< + @mkdir $(plugins_depdir) 2> /dev/null || true @mkdir $(dir $@) 2> /dev/null || true @$(CC) $(plugins_placement_CPPFLAGS) $(CFLAGS) -w -MM -MF $@ -MQ $(<:.c=.lo) $<