]> Dogcows Code - chaz/openbox/commitdiff
make the parent depdir
authorDana Jansens <danakj@orodu.net>
Thu, 3 Apr 2003 14:23:42 +0000 (14:23 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 3 Apr 2003 14:23:42 +0000 (14:23 +0000)
build/Makefile.plugins

index ba23c556f9b7e713b548e9e706ff975126ae58f3..aad5ec1e0752be3e670a2acaf0efed22dce575fb 100644 (file)
@@ -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) $<
 
This page took 0.021825 seconds and 4 git commands to generate.