summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-21 00:25:55 +0100
committerubq323 <ubq323@ubq323.website>2024-06-21 00:25:55 +0100
commita03973653262fbbfed7ce42dfa39646d16bdc98f (patch)
treefcf222d1e67b715af8173fda8edcab3b6c0793cd /Makefile
parentf331192861d8ba02af7fd47f2e0c6d6db7515007 (diff)
while loops, comparisons, modulo, fizzbuzz
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1993b3f..596f2a3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CS=ast.c com.c dis.c ht.c mem.c prs.c read.c state.c val.c vm.c
HS=ast.h dis.h ht.h mem.h prs.h read.h state.h val.h vm.h
-CFLAGS=-O3 -Wall -Wpedantic -Werror=implicit-function-declaration
+CFLAGS=-O3 -lm -Wall -Wpedantic -Werror=implicit-function-declaration
-bþ: $(CS) $(HS)
+bþ: $(CS) $(HS) Makefile
$(CC) $(CFLAGS) -o bþ $(CS)
prs.c: g.peg