mirror of
https://github.com/theoludwig/libcproject.git
synced 2024-11-13 23:43:13 +01:00
chore: remove .exe file extension to be more "linux way"
This commit is contained in:
parent
016bfeb47f
commit
0c93355e60
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,5 @@ documentation
|
|||||||
.vscode
|
.vscode
|
||||||
*.out
|
*.out
|
||||||
*.o
|
*.o
|
||||||
*.exe
|
|
||||||
*.a
|
*.a
|
||||||
node_modules
|
node_modules
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
[
|
[
|
||||||
"@semantic-release/exec",
|
"@semantic-release/exec",
|
||||||
{
|
{
|
||||||
"prepareCmd": "make set_version && ./bin/set_version.exe ${nextRelease.version}"
|
"prepareCmd": "make set_version && ./bin/set_version ${nextRelease.version}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
6
Makefile
6
Makefile
@ -8,9 +8,9 @@ LIB_OBJECTS = $(patsubst %.c, %.o, $(LIB_SOURCES))
|
|||||||
TEST_SOURCES = $(wildcard test/*.c)
|
TEST_SOURCES = $(wildcard test/*.c)
|
||||||
TEST_OBJECTS = $(patsubst %.c, %.o, $(TEST_SOURCES))
|
TEST_OBJECTS = $(patsubst %.c, %.o, $(TEST_SOURCES))
|
||||||
HEADER_FILES = $(wildcard lib/*.h) $(wildcard test/*.h) ./${LIBRARY_NAME}.h
|
HEADER_FILES = $(wildcard lib/*.h) $(wildcard test/*.h) ./${LIBRARY_NAME}.h
|
||||||
MAIN_EXECUTABLE = bin/main.exe
|
MAIN_EXECUTABLE = bin/main
|
||||||
SET_VERSION_EXECUTABLE = bin/set_version.exe
|
SET_VERSION_EXECUTABLE = bin/set_version
|
||||||
TEST_EXECUTABLE = bin/test.exe
|
TEST_EXECUTABLE = bin/test
|
||||||
|
|
||||||
${LIB}: $(addprefix build/, ${LIB_OBJECTS})
|
${LIB}: $(addprefix build/, ${LIB_OBJECTS})
|
||||||
rm --force ${LIB}
|
rm --force ${LIB}
|
||||||
|
@ -107,7 +107,7 @@ int main() {
|
|||||||
### Step 5: Compile your project and link it with the library
|
### Step 5: Compile your project and link it with the library
|
||||||
|
|
||||||
```sh
|
```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
|
## 💡 Contributing
|
||||||
|
Loading…
Reference in New Issue
Block a user