commit: 114899a22d975eca8406bb384a28539e5dea4cd0
parent 664e60ede51b3ff467d75f94e111c0b2f29e3a78
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 26 Dec 2015 20:11:59 +0100
rename EXTRAOBJ to COMPATOBJ
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -20,7 +20,7 @@ DOC = \
TODO
HDR = compat.h
-OBJ = ${SRC:.c=.o} ${EXTRAOBJ}
+OBJ = ${SRC:.c=.o} ${COMPATOBJ}
all: $(BIN)
@@ -45,11 +45,11 @@ config.h:
@echo creating $@ from config.def.h
@cp config.def.h $@
-urmoms: urmoms.o ${EXTRAOBJ}
- ${CC} -o $@ urmoms.o ${EXTRAOBJ} ${LDFLAGS}
+urmoms: urmoms.o ${COMPATOBJ}
+ ${CC} -o $@ urmoms.o ${COMPATOBJ} ${LDFLAGS}
-urmoms-index: urmoms-index.o ${EXTRAOBJ}
- ${CC} -o $@ urmoms-index.o ${EXTRAOBJ} ${LDFLAGS}
+urmoms-index: urmoms-index.o ${COMPATOBJ}
+ ${CC} -o $@ urmoms-index.o ${COMPATOBJ} ${LDFLAGS}
clean:
rm -f ${BIN} ${OBJ}
diff --git a/config.mk b/config.mk
@@ -29,7 +29,7 @@ LDFLAGS = ${LIBS}
# uncomment for compat
CFLAGS += -DCOMPAT
# uncomment if your libc doesn't support strlcat, strlcpy.
-EXTRAOBJ = strlcat.o strlcpy.o
+COMPATOBJ = strlcat.o strlcpy.o
# compiler and linker
#CC = cc