mirror of
https://github.com/theoludwig/libcproject.git
synced 2024-12-11 21:13:00 +01:00
perf: compile with -O3 gcc flag
This commit is contained in:
parent
20d31ba2e3
commit
d850f04069
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
LIBRARY_NAME = libcproject
|
LIBRARY_NAME = libcproject
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CC_FLAGS = -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -I./
|
CC_FLAGS = -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3 -I./
|
||||||
LIB = ./build/${LIBRARY_NAME}.a
|
LIB = ./build/${LIBRARY_NAME}.a
|
||||||
LIB_CC_FLAGS = -L. -l:${LIB}
|
LIB_CC_FLAGS = -L. -l:${LIB}
|
||||||
LIB_SOURCES = $(wildcard lib/*.c)
|
LIB_SOURCES = $(wildcard lib/*.c)
|
||||||
|
Loading…
Reference in New Issue
Block a user