diff --git a/Makefile.windows b/Makefile.windows new file mode 100644 index 0000000..dcba146 --- /dev/null +++ b/Makefile.windows @@ -0,0 +1,17 @@ +CXX = g++ +SRCDIR = HDBSCAN-CPP +SOURCES = $(wildcard $(SRCDIR)/*/*.cpp) HDBSCAN-FourProminentClusterExample/FourProminentClusterExample.cpp +OBJECTS = $(SOURCES:.cpp=.o) +TARGET = hdbscan.exe +CXXFLAGS = -std=c++11 -Wall -I$(SRCDIR) + +all: $(TARGET) + +$(TARGET): $(OBJECTS) + $(CXX) $(OBJECTS) -o $(TARGET) $(CXXFLAGS) + +%.o: %.cpp + $(CXX) -c $< -o $@ $(CXXFLAGS) + +clean: + del /F /Q $(subst /,\,$(OBJECTS)) $(TARGET) 2>nul || exit 0 \ No newline at end of file