tRP_CC is not needed, CC is set. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 9fab2d44e04a69d5f8c98510097781e411939f2c
(DIR) parent 67848412448afaeba5fdfbf5cd8a5dc04117d345
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 7 Jun 2020 12:24:20 +0200
RP_CC is not needed, CC is set.
Diffstat:
Makefile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -21,9 +21,6 @@ RP_CFLAGS = -g -std=gnu99 -pedantic -Wall -O0 ${INCS} ${RP_CPPFLAGS} ${CFLAGS}
RP_LDFLAGS = -g ${LIBS} ${LDFLAGS}
#RP_LDFLAGS = -s ${LIBS}
-# compiler and linker
-RP_CC = cc
-
SRC = ${NAME}.c ind.c llist.c cfg.c txtdb.c mark.c cur.c \
select.c sieve.c net.c base64.c strio.c parser.c pager.c \
mime.c folder.c imap.c inc.c stats.c capability.c pick.c \
t@@ -35,12 +32,12 @@ OBJ = ${SRC:.c=.o}
all: ${NAME}
.c.o:
- ${RP_CC} -c ${CFLAGS} $<
+ ${CC} -c ${CFLAGS} $<
${OBJ}:
${NAME}: ${OBJ}
- ${RP_CC} -o $@ ${OBJ} ${RP_LDFLAGS}
+ ${CC} -o $@ ${OBJ} ${RP_LDFLAGS}
clean:
rm -f ${NAME} ${OBJ} ${NAME}-${VERSION}.tar.gz