]> git.lizzy.rs Git - bspwm.git/commitdiff
Add target to generate source header dependencies
authorBastien Dejean <nihilhill@gmail.com>
Sun, 3 Nov 2013 22:10:41 +0000 (23:10 +0100)
committerBastien Dejean <nihilhill@gmail.com>
Sun, 3 Nov 2013 22:10:41 +0000 (23:10 +0100)
Makefile

index 293a64203642900a2ebf047e27e0b6e9338e6bfd..a35524156f9c15f99aba09ad675bcc5a63503fcd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,10 +58,13 @@ uninstall:
        rm -f "$(DESTDIR)$(BASHCPL)"/bspc
        rm -f "$(DESTDIR)$(ZSHCPL)"/_bspc
 
+deps:
+       $(CC) -MM *.c > Sourcedeps
+
 doc:
        a2x -v -d manpage -f manpage -a revnumber=$(VERSION) doc/bspwm.1.txt
 
 clean:
        rm -f $(WM_OBJ) $(CL_OBJ) bspwm bspc
 
-.PHONY: all debug install uninstall doc clean 
+.PHONY: all debug install uninstall doc deps clean