commit 9fab2d44e04a69d5f8c98510097781e411939f2c
parent 67848412448afaeba5fdfbf5cd8a5dc04117d345
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:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
@@ -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 \
@@ -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