blob: b4e76fa38ee72e310e155318fcb7ef5c6dea3b74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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)
moder: moder.c $(LIB)
gcc -g -Wall -Wextra -Werror -o $@ $< $(LIB)
.PHONY: clean
clean:
rm -f includer moder
|