chg makefile

This commit is contained in:
tqchen 2014-02-07 22:43:13 -08:00
parent bed2e26019
commit e8feddc6a8

View File

@ -10,7 +10,7 @@ OBJ = xgboost.o
all: $(BIN) $(OBJ) all: $(BIN) $(OBJ)
export LDFLAGS= -pthread -lm export LDFLAGS= -pthread -lm
xgboost.o: booster/*.h booster/*.cpp xgboost.o: booster/xgboost.h booster/xgboost_data.h booster/xgboost.cpp booster/*/*.hpp booster/*/*.h
$(BIN) : $(BIN) :
$(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.cpp %.o %.c, $^) $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.cpp %.o %.c, $^)