aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-09 20:14:08 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-09 20:18:01 +0100
commite8e03e7eda2c6d5fc9e0e5ea13bd46beb4417798 (patch)
tree44d785912a09ebd3151bc285a9ce983857c3e216 /Makefile
Genesis commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
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