Update Makefile

Signed-off-by: yzrh <yzrh@noema.org>
This commit is contained in:
yzrh 2022-12-19 23:54:06 +00:00
parent 86b6487fff
commit 3550095959

View file

@ -1,5 +1,5 @@
#
# Copyright (c) 2020-2021, yzrh <yzrh@noema.org>
# Copyright (c) 2020-2022, yzrh <yzrh@noema.org>
#
# SPDX-License-Identifier: Apache-2.0
#
@ -15,8 +15,8 @@ obj = ${src:.c=.o}
PREFIX = /usr/local
CFLAGS = -O3 -pipe -flto -Wall -Wextra -Wno-unused-parameter
LDFLAGS = -Wl,-O3 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed
CFLAGS = -O2 -pipe -flto -Wall -Wextra -Wno-unused-parameter
LDFLAGS = -Wl,-O2 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed
CFLAGS += -I/usr/local/include
LDFLAGS += -L/usr/local/lib