aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)