Makefile: use system CFLAGS and LDFLAGS, simplify: remove options target - hurl… | |
git clone git://git.codemadness.org/hurl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 23ccf09d87db6c960b6fb6360ae306a91c8b16b5 | |
parent 102c200727ea0e943ea3b793b0e7894bc1078f6c | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 17 Feb 2019 15:04:42 +0100 | |
Makefile: use system CFLAGS and LDFLAGS, simplify: remove options target | |
Diffstat: | |
M Makefile | 9 +-------- | |
1 file changed, 1 insertion(+), 8 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -9,7 +9,6 @@ PREFIX = /usr/local | |
BINDIR = ${PREFIX}/bin | |
MANDIR = ${PREFIX}/man/man1 | |
-CFLAGS = -O2 -Wall | |
HURL_CFLAGS = -I. -I/usr/include ${CFLAGS} | |
HURL_LDFLAGS = -L/usr/lib -L. -ltls ${LDFLAGS} | |
@@ -18,12 +17,6 @@ OBJ = ${SRC:.c=.o} | |
all: ${NAME} | |
-options: | |
- @echo ${NAME} build options: | |
- @echo "CFLAGS = ${HURL_CFLAGS}" | |
- @echo "LDFLAGS = ${HURL_LDFLAGS}" | |
- @echo "CC = ${CC}" | |
- | |
.c.o: | |
${CC} ${HURL_CFLAGS} -c $< | |
@@ -56,4 +49,4 @@ dist: clean | |
mv ${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}.tgz | |
rm -rf "${NAME}-${VERSION}" | |
-.PHONY: all options clean dist install uninstall | |
+.PHONY: all clean dist install uninstall |