sysh/Makefile

14 lines
228 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
trie: triegen.py commands
python triegen.py commands src/trie.c
clean:
rm -f src/trie.c
rm -rf bin
run: make
./bin/sysh