1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2025-05-21 23:21:15 +02:00

perf: mutate destination string for string_concatenate

BREAKING CHANGE: Function signature changed
This commit is contained in:
2023-08-07 00:42:11 +02:00
parent b922fd9cd3
commit e5190818c4
5 changed files with 30 additions and 31 deletions

View File

@ -32,13 +32,13 @@ build/test/%.o: test/%.c ${HEADER_FILES} | build/test
.PHONY: run
run: ${LIB} ./main.c
mkdir --parents ./bin
${CC} ${CC_FLAGS} -o ${MAIN_EXECUTABLE} ./main.c ${LIB_CC_FLAGS}
${CC} ${CC_FLAGS} ${CC_SANITIZER_FLAGS} -o ${MAIN_EXECUTABLE} ./main.c ${LIB_CC_FLAGS}
./${MAIN_EXECUTABLE} ${ARGS}
.PHONY: set_version
set_version: ${LIB} ./set_version.c
mkdir --parents ./bin
${CC} ${CC_FLAGS} -o ${SET_VERSION_EXECUTABLE} ./set_version.c ${LIB_CC_FLAGS}
${CC} ${CC_FLAGS} ${CC_SANITIZER_FLAGS} -o ${SET_VERSION_EXECUTABLE} ./set_version.c ${LIB_CC_FLAGS}
.PHONY: test
test: ${LIB} $(addprefix build/, ${TEST_OBJECTS})