diff options
| author | @syxhe <https://t.me/syxhe> | 2025-01-11 19:39:53 -0600 |
|---|---|---|
| committer | @syxhe <https://t.me/syxhe> | 2025-01-11 19:39:53 -0600 |
| commit | 0c19d693bfe1dd3071c71d9d95f68c0db5cc75d0 (patch) | |
| tree | b6dc25ba074b5d4bd9e4dd5babc6ae8ea56169df /src/Makefile | |
| parent | d8e03b1a1d929f6afeac72d475183d0218656b48 (diff) | |
Fix genpassword function, delete buggy (v)asprintf implementation(s)
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index a97848d..03f2f05 100644 --- a/src/Makefile +++ b/src/Makefile | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | CC = gcc | 1 | CC = gcc |
| 2 | SHELL = /usr/bin/bash | 2 | SHELL = /usr/bin/bash |
| 3 | 3 | ||
| 4 | DEBUG_CFLAGS := -fanalyzer -Wanalyzer-too-complex -ggdb -g3 -Og | 4 | DEBUG_CFLAGS := -fanalyzer -Wanalyzer-too-complex -ggdb -g3 -O0 |
| 5 | RELEASE_CFLAGS := -O3 -fipa-pta -fipa-cp -fuse-linker-plugin -flto=auto | 5 | RELEASE_CFLAGS := -O3 -fipa-pta -fipa-cp -fuse-linker-plugin -flto=auto |
| 6 | CFLAGS = -Wall -Wextra -Wpedantic -pedantic-errors $(DEBUG_CFLAGS) $$(pkg-config --cflags libsodium) | 6 | CFLAGS = -Wall -Wextra -Wpedantic -pedantic-errors $(DEBUG_CFLAGS) $$(pkg-config --cflags libsodium) |
| 7 | 7 | ||
| @@ -14,7 +14,7 @@ RELEASE_LDFLAGS := -fuse-linker-plugin -flto=auto | |||
| 14 | LDFLAGS += $(DEBUG_LDFLAGS) $$(pkg-config --libs-only-L libsodium) | 14 | LDFLAGS += $(DEBUG_LDFLAGS) $$(pkg-config --libs-only-L libsodium) |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | BINARIES := main | 17 | BINARIES := main encryption |
| 18 | 18 | ||
| 19 | .PHONY: all clean | 19 | .PHONY: all clean |
| 20 | 20 | ||
| @@ -27,5 +27,5 @@ shared.o: shared.c shared.h | |||
| 27 | 27 | ||
| 28 | encryption: encryption.c encryption.h shared.o shared.h | 28 | encryption: encryption.c encryption.h shared.o shared.h |
| 29 | 29 | ||
| 30 | c clean: # huh, didn't think that would work | 30 | c clean: |
| 31 | rm -rvf $(BINARIES) $(wildcard *.o) \ No newline at end of file | 31 | rm -rvf $(BINARIES) $(wildcard *.o) \ No newline at end of file |
