Init skeleton project commit

This commit is contained in:
Stephen Seo 2021-05-01 21:29:05 +09:00
commit 42ef4e9bb3
4 changed files with 25 additions and 0 deletions

3
cpp_impl/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
GeothmeticMeandian
src/*.o
compile_commands.json

18
cpp_impl/Makefile Normal file
View 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
View file

@ -0,0 +1,3 @@
int main(int argc, char **argv) {
return 0;
}

1
link Normal file
View file

@ -0,0 +1 @@
https://programmingpraxis.com/2021/04/13/geothmetic-meandian/