summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-25 11:13:32 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-25 11:13:32 +0200
commitde75ee59d9af36621d545b560d6b3415a9a2a40a (patch)
tree63e9beed6dae5371c7caf96454f64f27f73ef483 /Makefile
parent74cd15a70612c9972b68fe8fbfb4c0b9959955f2 (diff)
Add /usr/local/{bin|include} to the default include and lib paths
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 475d5e3..91ee1b4 100755
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ LIBS = -lncurses
15LIBS += -lreadline 15LIBS += -lreadline
16 16
17CFLAGS += -Wall -Os 17CFLAGS += -Wall -Os
18CFLAGS += -I/usr/local/include
19LDFLAGS += -L/usr/local/lib
18 20
19## use this line when you've got an readline before 4.(x|2) 21## use this line when you've got an readline before 4.(x|2)
20#CFLAGS += -DOLDREADLINE 22#CFLAGS += -DOLDREADLINE
@@ -23,11 +25,11 @@ CFLAGS += -Wall -Os
23# if you can't modify this Makefile 25# if you can't modify this Makefile
24CFLAGS += $(OLDREADLINE) 26CFLAGS += $(OLDREADLINE)
25 27
26##### Enable this for using the OpenSSL library 28##### Enable this for enabling the OpenSSL library
27CFLAGS += -DTLS_LIB_OPENSSL 29CFLAGS += -DTLS_LIB_OPENSSL
28LIBS += -lssl -lcrypto 30LIBS += -lssl -lcrypto
29 31
30##### Enable this for using the mbedTLS library 32##### Enable this for enabling the mbedTLS library
31#CFLAGS += -DTLS_LIB_MBEDTLS 33#CFLAGS += -DTLS_LIB_MBEDTLS
32#LIBS += -lmbedx509 -lmbedtls -lmbedcrypto 34#LIBS += -lmbedx509 -lmbedtls -lmbedcrypto
33 35
@@ -36,7 +38,6 @@ LIBS += -lssl -lcrypto
36#CFLAGS+= -arch x86_64 -Wno-deprecated-declarations 38#CFLAGS+= -arch x86_64 -Wno-deprecated-declarations
37#CFLAGS+= -arch i386 -Wno-deprecated-declarations 39#CFLAGS+= -arch i386 -Wno-deprecated-declarations
38#CFLAGS += -I/usr/local/ssl/include -L/usr/local/ssl/lib 40#CFLAGS += -I/usr/local/ssl/include -L/usr/local/ssl/lib
39#CFLAGS += -I/usr/local/include -L/usr/local/lib
40#CFLAGS += -I/usr/pkg/include -L/usr/pkg/lib 41#CFLAGS += -I/usr/pkg/include -L/usr/pkg/lib
41#LDFLAGS += -L"/usr/local/opt/openssl@1.1/lib" 42#LDFLAGS += -L"/usr/local/opt/openssl@1.1/lib"
42#CFLAGS += -I../readline-6.3 43#CFLAGS += -I../readline-6.3