From b72fdd0cfe80dbbae61a423e35c2ed5553623e4b Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 29 Oct 2020 13:22:26 +0900 Subject: [PATCH] Init skeleton project --- Makefile | 17 +++++++++++++++++ src/main.cpp | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 Makefile create mode 100644 src/main.cpp diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..621d2a2 --- /dev/null +++ b/Makefile @@ -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 diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..11b7fad --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,3 @@ +int main(int argc, char **argv) { + return 0; +}