diff --git a/makefile b/makefile index 24aee5e..18eac52 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,11 @@ -.PHONY: all debug -all: src/wta.c +.PHONY: debug release run + +release: src/wta.c gcc -o build/wta -O2 -Wall -Wextra -pedantic -Werror src/wta.c +run: release + ./build/wta + debug: src/wta.c gcc -o build/wta -ggdb3 -DDEBUG -Wall -Wextra -pedantic -Werror src/wta.c