diff --git a/.gitignore b/.gitignore index 3448402..8a9b739 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,5 @@ documentation .vscode *.out *.o -*.exe *.a node_modules diff --git a/.releaserc.json b/.releaserc.json index 65127af..f2c56bb 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -16,7 +16,7 @@ [ "@semantic-release/exec", { - "prepareCmd": "make set_version && ./bin/set_version.exe ${nextRelease.version}" + "prepareCmd": "make set_version && ./bin/set_version ${nextRelease.version}" } ], [ diff --git a/Makefile b/Makefile index 82d9327..ae5c895 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,9 @@ LIB_OBJECTS = $(patsubst %.c, %.o, $(LIB_SOURCES)) TEST_SOURCES = $(wildcard test/*.c) TEST_OBJECTS = $(patsubst %.c, %.o, $(TEST_SOURCES)) HEADER_FILES = $(wildcard lib/*.h) $(wildcard test/*.h) ./${LIBRARY_NAME}.h -MAIN_EXECUTABLE = bin/main.exe -SET_VERSION_EXECUTABLE = bin/set_version.exe -TEST_EXECUTABLE = bin/test.exe +MAIN_EXECUTABLE = bin/main +SET_VERSION_EXECUTABLE = bin/set_version +TEST_EXECUTABLE = bin/test ${LIB}: $(addprefix build/, ${LIB_OBJECTS}) rm --force ${LIB} diff --git a/README.md b/README.md index e99243b..7fecf40 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ int main() { ### Step 5: Compile your project and link it with the library ```sh -gcc -o ./main.exe ./main.c -L. -l:./libcproject/build/libcproject.a +gcc -o ./main ./main.c -L. -l:./libcproject/build/libcproject.a ``` ## 💡 Contributing