summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2904491..1b3be4c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CC=clang
CFLAGS+=-Iinclude -std=c2x -Wall -Wextra -Wpedantic -Werror
-CFLAGS+=-O2
+CFLAGS+=-O3
LIBS=-lgmp -lmpfr -lxcb -lvulkan
HDR=\
include/luma/stdlibsock/gfx.h \
@@ -13,7 +13,7 @@ SRC=\
OBJ=$(SRC:.c=.o)
luma.elf: $(OBJ)
$(CC) $(CCFLAGS) $(LIBS) $(OBJ) -o $@
-$(OBJ): $(HDR) $(SRC)
+$(OBJ): Makefile $(HDR) $(SRC)
.PHONY: clean
clean:
rm $(OBJ)