diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..344fb30 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +.POSIX: + +WARNINGS = -Wall -Wextra -Werror -Wpedantic + +CC = cc +CFLAGS = $(WARNINGS) -pipe -O3 -march=native -mtune=native + +all: grab +grab: grab.c + +debug: + $(CC) $(WARNINGS) -DGRAB_DEBUG -g -ggdb3 -o grab grab.c + +clean: + rm -f grab |