diff options
| author | @syxhe <https://t.me/syxhe> | 2025-06-06 13:30:34 -0500 |
|---|---|---|
| committer | @syxhe <https://t.me/syxhe> | 2025-06-06 13:30:34 -0500 |
| commit | 16528ac295215e788cb226f0cc49f11f82919741 (patch) | |
| tree | 8bbe621a58a421b894330205bf07285e80e40e9e /src/Makefile | |
| parent | 8fe1a7ea459829145dfef4b0aa8f627f96841cbd (diff) | |
Get threadpool implementation workingthreadpool-debugging
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index b045807..0ee5897 100644 --- a/src/Makefile +++ b/src/Makefile | |||
| @@ -6,10 +6,12 @@ SHELL := /usr/bin/env | |||
| 6 | # RELEASE_CFLAGS := -O3 -fipa-pta -fipa-cp -fuse-linker-plugin -flto=auto | 6 | # RELEASE_CFLAGS := -O3 -fipa-pta -fipa-cp -fuse-linker-plugin -flto=auto |
| 7 | # RELEASE_LDFLAGS := -fuse-linker-plugin -flto=auto | 7 | # RELEASE_LDFLAGS := -fuse-linker-plugin -flto=auto |
| 8 | 8 | ||
| 9 | CFLAGS = -std=c2x -Wall -Wextra -Wpedantic -pedantic-errors -fanalyzer -Wanalyzer-too-complex -ggdb -g3 -O0 $$(pkg-config --cflags libsodium) | 9 | CFLAGS = -std=c2x -Wall -Wextra -Wpedantic -pedantic-errors -fanalyzer -Wanalyzer-too-complex -ggdb -g3 -O0 |
| 10 | DEPFLAGS = -MT $@ -MMD -MP -MF $*.d | ||
| 11 | |||
| 12 | CFLAGS += $$(pkg-config --cflags libsodium) | ||
| 10 | LDLIBS += $$(pkg-config --libs-only-l libsodium) | 13 | LDLIBS += $$(pkg-config --libs-only-l libsodium) |
| 11 | LDFLAGS += $$(pkg-config --libs-only-L libsodium) | 14 | LDFLAGS += $$(pkg-config --libs-only-L libsodium) |
| 12 | DEPFLAGS = -MT $@ -MMD -MP -MF $*.d | ||
| 13 | 15 | ||
| 14 | SOURCES := $(wildcard *.c) | 16 | SOURCES := $(wildcard *.c) |
| 15 | OBJECTS := $(patsubst %.c,%.o,$(SOURCES)) | 17 | OBJECTS := $(patsubst %.c,%.o,$(SOURCES)) |
