blob: 6625528b94fbefdf306e089c5982465026abc5ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
SOURCE_FILES = $(shell find DomeKey lib \
-type f \
-name '*.h' \
-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) $(RUST_LIB)
xcodebuild -scheme DomeKey -configuration Debug
$(RUST_LIB):
$(MAKE) -C $(RUST_DIR) $@
|