Init skeleton project commit
This commit is contained in:
commit
42ef4e9bb3
4 changed files with 25 additions and 0 deletions
3
cpp_impl/.gitignore
vendored
Normal file
3
cpp_impl/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
GeothmeticMeandian
|
||||||
|
src/*.o
|
||||||
|
compile_commands.json
|
18
cpp_impl/Makefile
Normal file
18
cpp_impl/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
COMMON_FLAGS = -Wall -Wextra -Wpedantic
|
||||||
|
|
||||||
|
ifdef DEBUG
|
||||||
|
CXXFLAGS = $(COMMON_FLAGS) -g -O0
|
||||||
|
else
|
||||||
|
CXXFLAGS = $(COMMON_FLAGS) -O3 -DNDEBUG
|
||||||
|
endif
|
||||||
|
|
||||||
|
all: GeothmeticMeandian
|
||||||
|
|
||||||
|
GeothmeticMeandian: src/main.o
|
||||||
|
$(CXX) $(CXXFLAGS) -o GeothmeticMeandian $^
|
||||||
|
|
||||||
|
.PHONY:
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f GeothmeticMeandian
|
||||||
|
rm -f src/*.o
|
3
cpp_impl/src/main.cpp
Normal file
3
cpp_impl/src/main.cpp
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
return 0;
|
||||||
|
}
|
1
link
Normal file
1
link
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://programmingpraxis.com/2021/04/13/geothmetic-meandian/
|
Loading…
Reference in a new issue