first version that reproduce binary classification demo
This commit is contained in:
7
Makefile
7
Makefile
@@ -3,15 +3,15 @@ export CXX = clang++
|
||||
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas
|
||||
|
||||
# specify tensor path
|
||||
BIN = xgunity.exe
|
||||
BIN = xgboost
|
||||
OBJ = io.o
|
||||
.PHONY: clean all
|
||||
|
||||
all: $(BIN) $(OBJ)
|
||||
export LDFLAGS= -pthread -lm
|
||||
|
||||
xgunity.exe: src/xgunity.cpp
|
||||
io.o: src/io/io.cpp
|
||||
xgboost: src/xgboost_main.cpp io.o src/data.h src/tree/*.h src/tree/*.hpp src/gbm/*.h src/gbm/*.hpp src/utils/*.h src/learner/*.h src/learner/*.hpp
|
||||
io.o: src/io/io.cpp src/data.h src/utils/*.h
|
||||
|
||||
$(BIN) :
|
||||
$(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.cpp %.o %.c, $^)
|
||||
@@ -24,4 +24,3 @@ install:
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ) $(BIN) *~ */*~ */*/*~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user