Something went wrong. Try again.
c++ exercise to convert written-out numbers into arabic digits
Something went wrong. Try again.
words2numbers Makefile
443 B · 27 lines
Makefile
at main
123456789101112131415161718192021222324252627CC := g++C_FLAGS := -std=c++11 -Wall -Wextra -g
BIN := binSRC := srcINCLUDE := includeLIB := libLANG := en_gb
LIBRARIES :=
ifeq ($(OS),Windows_NT)EXECUTABLE := main.exeelseEXECUTABLE := mainendif
all: $(BIN)/$(EXECUTABLE)
clean: $(RM) $(BIN)/$(EXECUTABLE)
run: all ./$(BIN)/$(EXECUTABLE)
$(BIN)/$(EXECUTABLE): $(SRC)/*.cpp $(CC) $(C_FLAGS) -I$(INCLUDE) -L$(LIB) $^ languages/$(LANG)/language_setup.cpp -o $@ $(LIBRARIES)