From 5151485fd932fa44aae807be8516e08c4dd681fb Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 29 Oct 2022 15:02:43 -0400 Subject: [PATCH] Accept environment CFLAGS and LDFLAGS --- webcit-ng/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webcit-ng/Makefile b/webcit-ng/Makefile index cda937007..7c2980cb2 100644 --- a/webcit-ng/Makefile +++ b/webcit-ng/Makefile @@ -1,9 +1,9 @@ -CFLAGS := -ggdb -Wno-format-truncation -LDFLAGS := +CFLAGS := $(CFLAGS) -ggdb -Wno-format-truncation +LDFLAGS := $(LDFLAGS) # link webcit: server/*.c - gcc server/*.c $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit + gcc $(CFLAGS) server/*.c $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit # remove compilation products clean: -- 2.39.2