aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-10-29 02:35:22 +0100
committerTeddy Wing2018-10-29 02:35:22 +0100
commit1620b731f3c5fd1865caf176f552ee2a9055d081 (patch)
tree7a1fc59cecb8a8b18e25707c60adc14092bfd36c
parent0742344f0b22ee5174449b400a754323378f484c (diff)
downloaddome-key-map-1620b731f3c5fd1865caf176f552ee2a9055d081.tar.bz2
Makefile: Fix error when `make build`ing without a `target` directory
The `make build` target requires the `target/debug/deps` directory to exists so it can copy the media key simulator library into it.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 67ae18e..611bc91 100644
--- a/Makefile
+++ b/Makefile
@@ -25,4 +25,5 @@ $(DKESS_LIB_DEBUG):
$(MAKE) -C lib/dome_key_event_source_simulator $@
$(DKESS_LOCAL_LIB_DEBUG): $(DKESS_LIB_DEBUG)
+ mkdir -p target/debug/deps
cp -a $< $@