|
@@ -4,7 +4,9 @@ CPPFLAGS = -DMAX_GENUS=$(MAX_GENUS) #-DNDEBUG
|
|
|
CXXFLAGS = -std=c++11 -g -Wall -O3 # -fsanitize=thread # -Winline
|
|
|
CXX = g++
|
|
|
TARGET_ARCH = -march=corei7 -mtune=corei7
|
|
|
-TARGET = wilf_alone
|
|
|
+TARGET = wilf
|
|
|
+
|
|
|
+
|
|
|
|
|
|
# Pour compiler avec une valeur différente: make MAX_GENUS=35
|
|
|
DEFAULT_MAX_GENUS=40
|
|
@@ -14,7 +16,7 @@ all: $(TARGET)
|
|
|
|
|
|
monoid.o: monoid.cpp monoid.hpp
|
|
|
treewalk.o: treewalk.cpp treewalk.hpp monoid.hpp
|
|
|
-wilf_alone: treewalk.o monoid.o
|
|
|
+wilf: treewalk.o monoid.o
|
|
|
$(CXX) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|
|
|
|
|
clean:
|