From 0f00e36028c069b4bdfa4ab6c98bc49547240b86 Mon Sep 17 00:00:00 2001 From: xnacly <47723417+xNaCly@users.noreply.github.com> Date: Sat, 1 Apr 2023 18:45:43 +0200 Subject: [PATCH] build: add makefile --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9c48916 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +FILES := $(shell find . -name "*.c") +dev build: + ./fleck + +build: + gcc $(FILES)\ + -O3 \ + -fdiagnostics-color=always \ + -Wall \ + -Wpedantic \ + -std=c11 \ + -Wextra \ + -Werror \ + -Wshadow \ + -Wundef \ + -fno-common \ + -o fleck +