Init skeleton project
This commit is contained in:
commit
b72fdd0cfe
2 changed files with 20 additions and 0 deletions
17
Makefile
Normal file
17
Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
COMMON_CXXFLAGS = -Wall -Wextra -Wpedantic
|
||||
ifdef DEBUG
|
||||
CXXFLAGS = -O0 -g ${COMMON_CXXFLAGS}
|
||||
else
|
||||
CXXFLAGS = -O3 ${COMMON_CXXFLAGS}
|
||||
endif
|
||||
|
||||
all: KoreanNumbers
|
||||
|
||||
KoreanNumbers: src/main.o
|
||||
$(CXX) $(CXXFLAGS) -o KoreanNumbers $^
|
||||
|
||||
.PHONY:
|
||||
|
||||
clean:
|
||||
rm -f KoreanNumbers
|
||||
rm -f src/*.o
|
3
src/main.cpp
Normal file
3
src/main.cpp
Normal file
|
@ -0,0 +1,3 @@
|
|||
int main(int argc, char **argv) {
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue