aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 2fc2a3d7d934f35016cfce54b1b935b8d3931d91 (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)
	xcodebuild -scheme DomeKey -configuration Debug

$(RUST_LIB):
	$(MAKE) -C $(RUST_DIR) $@