diff options
| author | Teddy Wing | 2018-08-27 23:55:04 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-08-27 23:55:04 +0200 | 
| commit | c988e7144e373a6ccd9e2ae04d449b99394147a7 (patch) | |
| tree | 8ceb94b0f49bb549a07d844eb1e3bb52c2affacc | |
| parent | 2d5d0fd66f8d921a50055260529dbb38abfdb0d1 (diff) | |
| download | DomeKey-c988e7144e373a6ccd9e2ae04d449b99394147a7.tar.bz2 | |
Makefile: Add target for Rust library
Make a sub-make target for the Rust library. We'll want to make this a
dependency of the regular DomeKey `build` target.
| -rw-r--r-- | Makefile | 6 | 
1 files changed, 6 insertions, 0 deletions
| @@ -4,7 +4,13 @@ SOURCE_FILES = $(shell find DomeKey lib \  	-or -name '*.m' \  	-or -name '*.c') +RUST_DIR := lib/dome-key-map +RUST_LIB := target/debug/libdome_key_map.a +  .PHONY: build  build: $(SOURCE_FILES)  	xcodebuild -scheme DomeKey -configuration Debug + +$(RUST_LIB): +	$(MAKE) -C $(RUST_DIR) $@ | 
