1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC= g++
CCFLAGS= -std=c++17
SOURCES= example1_basic_usage_with_integers.cpp \
example2_sorting_strings.cpp \
example3_custom_comparison_function.cpp \
example4_sorting_with_lambda_functions.cpp \
example5_partial_sorting.cpp
OBJECTS= $(SOURCES:.cpp=.o)
EXEC= $(SOURCES:.cpp=.x)
all: $(EXEC)
%.x: %.cpp
$(CC) $(CCFLAGS) -o $@ $<
clean:
rm -rf *.o *.x
Back to std_sort