aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 5f1288b696bfdf665ce720c030281abe84162e0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SOURCE_FILES = $(shell find src -type f -name '*.rs')

LIB := target/debug/libdome_key_map.a

$(LIB): $(SOURCE_FILES)
	cargo build

includer: clean $(LIB)
	gcc -o $@ includer.c $(LIB)

.PHONY: clean
clean:
	rm -f includer