]> git.sesse.net Git - vlc/blobdiff - Makefile.dep
. avoid calling SafeRead() with a null packet size.
[vlc] / Makefile.dep
index 3bc8479994fe87bb54cdb3a30bb009c20e18b412..6677e2f97a0be0dd1d6ea1a2dff619c8e25b88fd 100644 (file)
@@ -14,8 +14,8 @@
 ################################################################################
 
 default:
-       @echo "This Makefile should not be called directly - see notes at end of"
-       @echo "main Makefile."
+       @echo "This Makefile should not be called directly,"
+       @echo "see notes at end of main Makefile."
 
 ################################################################################
 # Dependancies creation
@@ -26,10 +26,11 @@ default:
 # .c and from itself.
 
 -include $(MAKECMDGOALS)
-$(dependancies): dep/%.d: %.c
-       @test -d dep/$(dir $*) || mkdir -p dep/$(dir $*)
-       @echo "generating dependancies for $*.c"
-       @$(SHELL) -ec '$(CC) $(DCFLAGS) $(CFLAGS) $< \
-               | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/$(subst /,\/,$*).o \
-               dep\/$(subst /,\/,$*).d : /g'\'' > $@; \
-               [ -s $@ ] || rm -f $@'
+$(dependancies): .dep/%.d: %.c
+       @test -d .dep/$(dir $*) || mkdir -p .dep/$(dir $*)
+       #@echo "generating dependancies for $*.c"
+       @$(SHELL) -ec '$(CC) $(DCFLAGS) $(CFLAGS) $(DEFINE) $< \
+       | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/$(subst /,\/,$*).o \
+       .dep\/$(subst /,\/,$*).d : /g'\'' > $@; \
+       [ -s $@ ] || rm -f $@'
+