--- kodev/Makefile.orig 2022-08-22 11:18:44 UTC +++ kodev/Makefile @@ -9,17 +9,11 @@ INSTALL_DIR=$(PREFIX)/bin S_SRC= ../src/cli.c -CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes +CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+=-Wsign-compare -Iincludes -std=c99 -pedantic -CFLAGS+=-DPREFIX='"$(PREFIX)"' -LDFLAGS=-lcrypto - -ifneq ("$(NOOPT)", "") - CFLAGS+=-O0 -else - CFLAGS+=-O2 -endif +CFLAGS+=-Wsign-compare -Iincludes -pedantic +CFLAGS+=-DPREFIX='"$(PREFIX)"' -I$(OPENSSL_PATH)/include +LDFLAGS+=-L$(OPENSSL_PATH)/lib -lcrypto ifneq ("$(MINIMAL)", "") CFLAGS+=-DKODEV_MINIMAL