13 lines
322 B
Makefile
13 lines
322 B
Makefile
all:
|
|
gcc ./main.c -std=c89 -o th -lncurses -ltinfo -Wall
|
|
|
|
d:
|
|
gcc -g -std=c89 ./main.c -o th -lncurses -ltinfo -Wall && gdb --tui ./th
|
|
|
|
v:
|
|
gcc -g -std=c89 ./main.c -o th -lncurses -ltinfo && valgrind --leak-check=full --log-fd=9 9>>valgrind.log ./th
|
|
|
|
rel:
|
|
gcc ./main.c -std=c89 -o th -lncurses -ltinfo -Wall -O2 -flto
|
|
|