aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b8cdb4d..e3ccc3d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,6 @@
+CC := gcc
+CFLAGS := -O3 -ggdb -g3 -Wall -Wextra
+
all:
- gcc -O3 -ggdb -g3 main.c -o main -Wall -Wextra #-flto
+ $(CC) $(CFLAGS) -c foci.c
+ $(CC) $(CFLAGS) main.c foci.o -o main