summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-06 22:20:53 +0100
committerubq323 <ubq323@ubq323.website>2024-08-06 22:20:53 +0100
commita4e8599e8d0fde881cd4e6e3031e5b52550e878e (patch)
tree41f455835a76442eb2442754f5d4fd15c915f721 /Makefile
parente4a7b6c397c430e3aa5f6fec63eeb91236069c27 (diff)
remove ast and peg parser
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 4a0d3b9..ef71e96 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,14 @@
-CS=ast.c com.c dis.c ht.c lib.c mem.c prs.c read.c state.c val.c vm.c
-HS=ast.h chunk.h com.h dis.h ht.h lib.h mem.h prs.h read.h state.h util.h val.h vm.h
+CS= com.c dis.c ht.c lib.c mem.c read.c state.c val.c vm.c
+HS=chunk.h com.h dis.h ht.h lib.h mem.h read.h state.h util.h val.h vm.h
CFLAGS=$(EXTRA_CFLAGS) -g -lm -Wall -Wpedantic -Werror=implicit-function-declaration
bth: $(CS) $(HS) Makefile
$(CC) $(CFLAGS) -o bth $(CS)
-prs.c: g.peg
- packcc -o prs g.peg
-prs.h: prs.c
-
-
test: bth
./run_tests.sh
clean:
- rm bth prs.c prs.h
+ rm bth
.PHONY: clean test