rename EXTRAOBJ to COMPATOBJ
This commit is contained in:
parent
664e60ede5
commit
114899a22d
2 changed files with 6 additions and 6 deletions
10
Makefile
10
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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue