summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-08-01 22:42:24 +0100
committerubq323 <ubq323@ubq323.website>2023-08-02 17:46:30 +0100
commit3a86e3a21394a072b9b59c68861325297f5e066d (patch)
tree48016b8187cf8e58b3f9346aa8ff88b8e721baf8 /Makefile
parent9e555bc2bf618148929e52ccd0efdb1b752bdcac (diff)
tersify
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 0160897..696587b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
-CS=ast.c com.c dis.c parser.c read.c val.c vm.c
-HS=ast.h dis.h parser.h read.h val.h vm.h
+CS=ast.c com.c dis.c prs.c read.c val.c vm.c
+HS=ast.h dis.h prs.h read.h val.h vm.h
CFLAGS=-O3 -Wall -Wpedantic -Werror=implicit-function-declaration
-badthing: $(CS) $(HS)
- $(CC) $(CFLAGS) -o badthing $(CS)
+bþ: $(CS) $(HS)
+ $(CC) $(CFLAGS) -o bþ $(CS)
-parser.c: grammar.peg
- packcc -o parser grammar.peg
+prs.c: g.peg
+ packcc -o prs g.peg
clean:
- rm badthing parser.c
+ rm bþ prs.c prs.h
.PHONY: clean