aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-22 23:49:52 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-22 23:49:52 +0200
commite7c8a04078261b331b00490ffbffd9ff05d1e0d0 (patch)
tree4df3cb197f6b3baab3bb0272acbf1e38d27eb68b /Makefile
parente9e41c02d4309cd50b5584a8dfc0d7e01cb27e10 (diff)
Add variable to list value and map key
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 095856f..505778f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
CFLAGS = -Wall -Wextra -Werror -g3 -std=c89 -pedantic -fPIE -DDEBUG
+#CFLAGS = -O3 -flto -static -s
LIBS = -lgc
OBJ = build/main.o build/tokenizer.o build/parser.o build/program.o build/bytecode.o build/value.o build/command.o build/buffer.o build/hash_map.o build/list.o
CC = cc
@@ -16,7 +17,7 @@ compiledb:
make clean; bear make
install: build
- install -m +x -s build/tsl /usr/local/bin/tsl
+ install -Dm755 build/tsl /usr/local/bin/tsl
build/main.o: src/main.c include/tokenizer.h
$(CC) -c src/main.c -o build/main.o $(CFLAGS)