Init skeleton project

This commit is contained in:
Stephen Seo 2020-10-29 13:22:26 +09:00
commit b72fdd0cfe
2 changed files with 20 additions and 0 deletions

17
Makefile Normal file
View 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
View file

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