KoreanNumbers/Makefile

18 lines
290 B
Makefile
Raw Normal View History

2020-10-29 13:03:26 +00:00
COMMON_CXXFLAGS = -Wall -Wextra -Wpedantic -std=c++20
2020-10-29 04:22:26 +00:00
ifdef DEBUG
CXXFLAGS = -Og -g ${COMMON_CXXFLAGS}
2020-10-29 04:22:26 +00:00
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