sxhkd-rc

[fork] simple X hotkey daemon (but for the rc shell)
Log | Files | Refs | README | LICENSE

commit c680afea4766750f0a7d8d1a0c51ebe51986d02b
parent fe241b0d2d70c9c483b23cf3cd14f1383f0953a2
Author: hhvn <dev@hhvn.uk>
Date:   Sat, 15 Jan 2022 10:20:27 +0000

Makefile Sourcedeps->sourcedeps.mk: reorg

Diffstat:
MMakefile | 2+-
DSourcedeps | 10----------
Asourcedeps.mk | 14++++++++++++++
3 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile @@ -21,7 +21,7 @@ debug: $(OUT) VPATH = src OBJ = -include Sourcedeps +include sourcedeps.mk $(OBJ): Makefile diff --git a/Sourcedeps b/Sourcedeps @@ -1,10 +0,0 @@ -grab.o: grab.c grab.h helpers.h parse.h sxhkd.h types.h -OBJ += grab.o -helpers.o: helpers.c helpers.h sxhkd.h types.h -OBJ += helpers.o -parse.o: parse.c helpers.h locales.h parse.h sxhkd.h types.h -OBJ += parse.o -sxhkd.o: sxhkd.c grab.h helpers.h parse.h sxhkd.h types.h -OBJ += sxhkd.o -types.o: types.c grab.h helpers.h parse.h sxhkd.h types.h -OBJ += types.o diff --git a/sourcedeps.mk b/sourcedeps.mk @@ -0,0 +1,14 @@ +grab.o: grab.c grab.h helpers.h parse.h sxhkd.h types.h +OBJ += grab.o + +helpers.o: helpers.c helpers.h sxhkd.h types.h +OBJ += helpers.o + +parse.o: parse.c helpers.h locales.h parse.h sxhkd.h types.h +OBJ += parse.o + +sxhkd.o: sxhkd.c grab.h helpers.h parse.h sxhkd.h types.h +OBJ += sxhkd.o + +types.o: types.c grab.h helpers.h parse.h sxhkd.h types.h +OBJ += types.o