Skip to content

Commit

Permalink
OpenSSL specified in Makefiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Sep 30, 2023
1 parent 561476c commit 80cce9a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions benchmarks/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CXXFLAGS = -O3 -std=c++17 -Wall -Wextra $(shell pkg-config --cflags hdrbg)
LDFLAGS = $(shell pkg-config --libs-only-L hdrbg)
LDLIBS = $(shell pkg-config --libs-only-l hdrbg)
CXXFLAGS = -O3 -std=c++17 -Wall -Wextra $(shell pkg-config --cflags hdrbg openssl)
LDFLAGS = $(shell pkg-config --libs-only-L hdrbg openssl)
LDLIBS = $(shell pkg-config --libs-only-l hdrbg openssl)

benchmarks:
6 changes: 3 additions & 3 deletions examples/C++/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CFLAGS = $(shell pkg-config --cflags hdrbg)
LDFLAGS = $(shell pkg-config --libs-only-L hdrbg)
LDLIBS = $(shell pkg-config --libs-only-l hdrbg)
CFLAGS = $(shell pkg-config --cflags hdrbg openssl)
LDFLAGS = $(shell pkg-config --libs-only-L hdrbg openssl)
LDLIBS = $(shell pkg-config --libs-only-l hdrbg openssl)

Sources = $(wildcard *.cc)
Executables = $(Sources:.cc=)
Expand Down
6 changes: 3 additions & 3 deletions examples/C/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CFLAGS = $(shell pkg-config --cflags hdrbg)
LDFLAGS = $(shell pkg-config --libs-only-L hdrbg)
LDLIBS = $(shell pkg-config --libs-only-l hdrbg)
CFLAGS = $(shell pkg-config --cflags hdrbg openssl)
LDFLAGS = $(shell pkg-config --libs-only-L hdrbg openssl)
LDLIBS = $(shell pkg-config --libs-only-l hdrbg openssl)

Sources = $(wildcard *.c)
Executables = $(Sources:.c=)
Expand Down
6 changes: 3 additions & 3 deletions tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CFLAGS = -std=c17 -O2 -Wall -Wextra $(shell pkg-config --cflags hdrbg)
LDFLAGS = $(shell pkg-config --libs-only-L hdrbg)
LDLIBS = $(shell pkg-config --libs-only-l hdrbg)
CFLAGS = -std=c17 -O2 -Wall -Wextra $(shell pkg-config --cflags hdrbg openssl)
LDFLAGS = $(shell pkg-config --libs-only-L hdrbg openssl)
LDLIBS = $(shell pkg-config --libs-only-l hdrbg openssl)

tests:

0 comments on commit 80cce9a

Please sign in to comment.