aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-24 18:15:35 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-24 18:15:35 +0100
commit78a977b76dc4cb695f406666e035c880cce8cdd5 (patch)
tree2ee68697c7093efc33c164dbd6cd637481cdfc63 /Makefile
parentf3558509bbbea8193d78bb77a4a217d662cd44cb (diff)
downloadchawan-78a977b76dc4cb695f406666e035c880cce8cdd5.tar.gz
makefile: move cflags to appropriate variable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0c578301..3f6a174b 100644
--- a/Makefile
+++ b/Makefile
@@ -95,8 +95,8 @@ $(OUTDIR_LIBEXEC)/ansi2html: adapter/format/ansi2html.nim src/io/posixstream.nim
$(NIMC) $(FLAGS) --nimcache:"$(OBJDIR)/$(TARGET)/ansi2html" \
-o:"$(OUTDIR_LIBEXEC)/ansi2html" adapter/format/ansi2html.nim
-GMIFETCH_CFLAGS = -Wall -Wextra -std=c89 -pedantic -g -O3
-GMIFETCH_LDFLAGS = $$(pkg-config --cflags --libs libssl) $$(pkg-config --cflags --libs libcrypto)
+GMIFETCH_CFLAGS = -Wall -Wextra -std=c89 -pedantic -g -O3 $$(pkg-config --cflags libssl) $$(pkg-config --cflags libcrypto)
+GMIFETCH_LDFLAGS = $$(pkg-config --libs libssl) $$(pkg-config --libs libcrypto)
$(OUTDIR_CGI_BIN)/gmifetch: adapter/protocol/gmifetch.c
@mkdir -p "$(OUTDIR_CGI_BIN)"
$(CC) $(GMIFETCH_CFLAGS) adapter/protocol/gmifetch.c -o "$(OUTDIR_CGI_BIN)/gmifetch" $(GMIFETCH_LDFLAGS)