sysh/Makefile

14 lines
264 B
Makefile
Raw Normal View History

2023-02-17 18:55:12 +00:00
make: trie $(wildcard src/*.c)
mkdir -p bin
gcc src/*.c -Wall -Wextra -pedantic -ggdb -o bin/sysh
2023-02-20 15:19:58 +00:00
trie: gen/triegen.py gen/commands
python gen/triegen.py gen/commands gen/syscalls_x86_64 src/trie.c
2023-02-17 18:55:12 +00:00
clean:
rm -f src/trie.c
rm -rf bin
run: make
./bin/sysh