[sslh] [PATCH] Improve Makefile
Michael Palimaka
kensington at gentoo.org
Wed Jul 11 13:14:27 CEST 2012
Hi,
Attached is a small patch to improve the Makefile. It will respect the
user's compiler and CFLAG choices (falling back to the current values if
undefined), as well as respecting LDFLAGS.
Best regards,
Michael
-------------- next part --------------
--- Makefile
+++ Makefile
@@ -15,10 +15,10 @@
CFLAGS_COV=-fprofile-arcs -ftest-coverage
endif
-CC = gcc
-CFLAGS=-Wall -g $(CFLAGS_COV)
+CC ?= gcc
+CFLAGS ?=-Wall -g $(CFLAGS_COV)
-LIBS=
+LIBS=$(LDFLAGS)
OBJS=common.o sslh-main.o probe.o
ifneq ($(strip $(USELIBWRAP)),)
More information about the sslh
mailing list