Skip to content

Commit

Permalink
build: add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
xNaCly committed Apr 1, 2023
1 parent 0797793 commit 0f00e36
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0f00e36

Please sign in to comment.