<commit_before>
# todo:
#   fix .matlabroot assumption below (this makefile will get confused if make has never been called in drake)
#   support debug mode (and pass it through properly to drake)

default_target: all

# get a list of subdirs to build by reading tobuild.txt
SUBDIRS:=$(shell grep -v "^\#" tobuild.txt)

# drake-related build variables
#PKG_CONFIG_PATH := ${PKG_CONFIG_PATH}:$(shell pwd)/drake/thirdParty

# NOTE:  this will fail if somebody has never run configure in drake, but the dependencies get more complicated
MATLABROOT = $(strip $(shell cat drake/.matlabroot))
MEX = $(MATLABROOT)/bin/mex
MEXEXT = $(shell $(MATLABROOT)/bin/mexext)
MATLABCPU = $(shell cat drake/.matlabcpu)

MAPS_FLAGS = $(subst -pthread,,$(shell pkg-config --cflags-only-I --libs maps eigen3 lcm opencv))
QP_FLAGS = $(subst -pthread,,$(shell export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:./drake/thirdParty/; pkg-config --cflags --libs eigen3 gurobi))
BULLET_FLAGS = $(shell pkg-config --cflags --libs-only-L bullet) -DBULLET_COLLISION -lBulletCollision -lLinearMath

# Figure out where to build the software.
#   Use BUILD_PREFIX if it was passed in.
#   If not, search up to three parent directories for a 'build' directory.
#   Otherwise, use ./build.
ifeq "$(BUILD_PREFIX)" ""<commit_msg>oops.   checked in with BULLET enabled, which will break on the laptops.<commit_after>
# todo:
#   fix .matlabroot assumption below (this makefile will get confused if make has never been called in drake)
#   support debug mode (and pass it through properly to drake)

default_target: all

# get a list of subdirs to build by reading tobuild.txt
SUBDIRS:=$(shell grep -v "^\#" tobuild.txt)

# drake-related build variables
#PKG_CONFIG_PATH := ${PKG_CONFIG_PATH}:$(shell pwd)/drake/thirdParty

# NOTE:  this will fail if somebody has never run configure in drake, but the dependencies get more complicated
MATLABROOT = $(strip $(shell cat drake/.matlabroot))
MEX = $(MATLABROOT)/bin/mex
MEXEXT = $(shell $(MATLABROOT)/bin/mexext)
MATLABCPU = $(shell cat drake/.matlabcpu)

MAPS_FLAGS = $(subst -pthread,,$(shell pkg-config --cflags-only-I --libs maps eigen3 lcm opencv))
QP_FLAGS = $(subst -pthread,,$(shell export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:./drake/thirdParty/; pkg-config --cflags --libs eigen3 gurobi))
#BULLET_FLAGS = $(shell pkg-config --cflags --libs-only-L bullet) -DBULLET_COLLISION -lBulletCollision -lLinearMath
BULLET_FLAGS =

# Figure out where to build the software.
#   Use BUILD_PREFIX if it was passed in.
#   If not, search up to three parent directories for a 'build' directory.
#   Otherwise, use ./build.
ifeq "$(BUILD_PREFIX)" ""
{'fraction_non_alphanumeric': 0.11499051233396584, 'fraction_numerical': 0.0015180265654648956, 'mean_word_length': 4.53781512605042, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '741409', 'n_tokens_mistral': 881, 'n_tokens_neox': 851, 'n_words': 298}