aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2025-01-24 07:42:49 -0500
committerClyne Sullivan <clyne@bitgloo.com>2025-01-24 07:42:49 -0500
commit2a4573613033a4fe2ad520fe31e53d35a54d65b7 (patch)
treed8de6cb9b1eec31a20758e01814f5ea530a51569 /Makefile
parent1d3ef290df57710e487f72b861edb147ccfee90b (diff)
isolate foci code
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