<commit_before>OS_SRCS=$(wildcard object-store/*.cpp)
ECH_SRCS=object-store/impl/apple/external_commit_helper.cpp
SRCS=$(wildcard *.cpp) $(OS_SRCS) $(ECH_SRCS)
OBJS=$(subst .cc,.o,$(SRCS))

SDKROOT=$(shell xcrun --sdk iphoneos --show-sdk-path)
CXX=$(shell xcrun --sdk iphoneos --find clang++)
FLAGS=-Icore/include -Iobject-store -Iobject-store/impl -Iobject-store/impl/apple -std=c++14 -stdlib=libc++  
CORE_IOS_VER=0.95.1
CORE_ANDROID_VER=0.95.1

help: ## Show this help.
	@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'

clean: ## Remove all build artefacts
	rm -fr build
	rm -fr libs
	rm -fr core
	rm -fr core-android
 
all: ios iosdbg android ## Make all the libs except osx broken - see issue 249

.PHONY: all help clean

# OSX and iOS ============

osx: build/Release-osx/libwrappers.dylib 

ios: build/Release-ios-universal/libwrappers.a 

iosdbg: build/Debug-ios-universal/libwrappers.a  

core: realm-core-$(CORE_IOS_VER).tar.bz2
	tar xjf realm-core-$(CORE_IOS_VER).tar.bz2
	touch core

realm-core-$(CORE_IOS_VER).tar.bz2:
	curl -o realm-core-$(CORE_IOS_VER).tar.bz2 "http://static.realm.io/downloads/core/realm-core-$(CORE_IOS_VER).tar.bz2"<commit_msg>Clarified that CORE_IOS_VER is for a combined archive of all Apple cores by renaming to CORE_APPLE_VER<commit_after>OS_SRCS=$(wildcard object-store/*.cpp)
ECH_SRCS=object-store/impl/apple/external_commit_helper.cpp
SRCS=$(wildcard *.cpp) $(OS_SRCS) $(ECH_SRCS)
OBJS=$(subst .cc,.o,$(SRCS))

SDKROOT=$(shell xcrun --sdk iphoneos --show-sdk-path)
CXX=$(shell xcrun --sdk iphoneos --find clang++)
FLAGS=-Icore/include -Iobject-store -Iobject-store/impl -Iobject-store/impl/apple -std=c++14 -stdlib=libc++  
CORE_APPLE_VER=0.95.1
CORE_ANDROID_VER=0.95.1

help: ## Show this help.
	@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'

clean: ## Remove all build artefacts
	rm -fr build
	rm -fr libs
	rm -fr core
	rm -fr core-android
 
all: ios iosdbg android ## Make all the libs except osx broken - see issue 249

.PHONY: all help clean

# OSX and iOS ============

osx: build/Release-osx/libwrappers.dylib 

ios: build/Release-ios-universal/libwrappers.a 

iosdbg: build/Debug-ios-universal/libwrappers.a  

core: realm-core-$(CORE_APPLE_VER).tar.bz2
	tar xjf realm-core-$(CORE_APPLE_VER).tar.bz2
	touch core

realm-core-$(CORE_APPLE_VER).tar.bz2:
	curl -o realm-core-$(CORE_APPLE_VER).tar.bz2 "http://static.realm.io/downloads/core/realm-core-$(CORE_APPLE_VER).tar.bz2"
{'fraction_non_alphanumeric': 0.1701957650819017, 'fraction_numerical': 0.014382740711146624, 'mean_word_length': 4.152263374485597, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7175465', 'n_tokens_mistral': 1082, 'n_tokens_neox': 1032, 'n_words': 214}