tlsgate

TLS reverse proxy
git clone git://git.akobets.xyz/tlsgate
Log | Files | Refs | README | LICENSE

commit 73c731dd83f023671b6569841bacc7fe1a4169a5
parent 680df18d0383e047db7eb6605e5e1b8c20cd5a8e
Author: Artem Kobets <artem@akobets.xyz>
Date:   Sat,  3 Oct 2020 08:48:40 +0300

separate CFLAGS and CPPFLAGS

Diffstat:
MMakefile | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -6,10 +6,10 @@ MANDIR = $(PREFIX)/share/man LIBS = -ltls -ALL_CFLAGS = -std=c99 -pedantic -Wall \ - -D_POSIX_C_SOURCE=200809L \ +ALL_CFLAGS = -std=c99 -pedantic -Wall $(CFLAGS) +ALL_CPPFLAGS = -D_POSIX_C_SOURCE=200809L \ -DVERSION=\"$(VERSION)\" \ - $(CFLAGS) $(CPPFLAGS) + $(CPPFLAGS) ALL_LDFLAGS = $(LIBS) $(LDFLAGS) CC = cc @@ -22,7 +22,7 @@ HDR = sock.h util.h all: tlsgate .c.o: - $(CC) $(ALL_CFLAGS) -c $< -o $@ + $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) -c $< -o $@ $(OBJ): $(HDR) tlsgate: $(OBJ) $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $(OBJ)