Init skeleton project commit
This commit is contained in:
commit
42ef4e9bb3
|
@ -0,0 +1,3 @@
|
|||
GeothmeticMeandian
|
||||
src/*.o
|
||||
compile_commands.json
|
|
@ -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
|
|
@ -0,0 +1,3 @@
|
|||
int main(int argc, char **argv) {
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue