[FIX] fix plugin system

This commit is contained in:
tqchen
2016-01-12 17:54:09 -08:00
parent 96f4542a67
commit 31d8e93ef3
6 changed files with 11 additions and 11 deletions

View File

@@ -1,8 +1,3 @@
# flags by plugin
PLUGIN_OBJS=
PLUGIN_LDFLAGS=
PLUGIN_CFLAGS=
ifndef config
ifneq ("$(wildcard ./config.mk)","")
config = config.mk
@@ -28,6 +23,9 @@ ifeq ($(USE_OPENMP), 0)
endif
include $(DMLC_CORE)/make/dmlc.mk
# include the plugins
include $(XGB_PLUGINS)
# use customized config file
ifndef CC
export CC = $(if $(shell which gcc-5),gcc-5,gcc)