sysh/Makefile
2023-02-17 13:55:12 -05:00

13 lines
228 B
Makefile

make: trie $(wildcard src/*.c)
mkdir -p bin
gcc src/*.c -Wall -Wextra -pedantic -ggdb -o bin/sysh
trie: triegen.py commands
python triegen.py commands src/trie.c
clean:
rm -f src/trie.c
rm -rf bin
run: make
./bin/sysh