Rename BIN to OUT, as the output of the compilation might also be something else

This commit is contained in:
Alex D. 2021-11-21 17:34:37 +00:00
parent a72e2868b9
commit f276753dc9
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
4 changed files with 10 additions and 10 deletions

View File

@ -2,16 +2,16 @@ include config.mk
OBJ = ${SRC:.c=.o}
all: ${OBJ} ${BIN}
all: ${OBJ} ${OUT}
%.o: %.c
${CC} -o $@ -c ${CFLAGS} $<
clean:
rm -f ${OBJ} ${BIN}
rm -f ${OBJ} ${OUT}
ifneq (${BIN},)
${BIN}: ${OBJ}
ifneq (${OUT},)
${OUT}: ${OBJ}
${CC} -o "$@" ${LDFLAGS} $^
endif

View File

@ -22,7 +22,7 @@ LIB =\
INCDIR =\
src/project/
BIN = project
OUT = project
# Conditionals / Appends
LDFLAGS +=\

View File

@ -2,16 +2,16 @@ include config.mk
OBJ = ${SRC:.cpp=.o}
all: ${OBJ} ${BIN}
all: ${OBJ} ${OUT}
%.o: %.cpp
${CXX} -o $@ -c ${CXXFLAGS} $<
clean:
rm -f ${OBJ} ${BIN}
rm -f ${OBJ} ${OUT}
ifneq (${BIN},)
${BIN}: ${OBJ}
ifneq (${OUT},)
${OUT}: ${OBJ}
${CXX} -o "$@" ${LDFLAGS} $^
endif

View File

@ -21,7 +21,7 @@ LIB =\
INCDIR =\
src/project/
BIN = project
OUT = project
# Conditionals / Appends
LDFLAGS +=\