<commit_before>CXX = clang++
CXXFLAGS = -std=c++11 -O2 -Wmost
LDLIBS = -lseccomp
LDFLAGS = -Wl,--as-needed
SYSCALLS_HEADER ?= /usr/include/asm/unistd_64.h

playpen: playpen.cc syscalls.inc
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $< $(LDLIBS) -o $@

syscalls.inc: gentab.py
	python gentab.py $(SYSCALLS_HEADER) > syscalls.inc<commit_msg>Makefile: add an install target<commit_after>PREFIX = /usr/local

CXX = clang++
CXXFLAGS = -std=c++11 -O2 -Wmost
LDLIBS = -lseccomp
LDFLAGS = -Wl,--as-needed
SYSCALLS_HEADER ?= /usr/include/asm/unistd_64.h

playpen: playpen.cc syscalls.inc
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $< $(LDLIBS) -o $@

syscalls.inc: gentab.py
	python gentab.py $(SYSCALLS_HEADER) > syscalls.inc

install: playpen
	install -Dm755 $< $(DESTDIR)$(PREFIX)/bin/$<
{'fraction_non_alphanumeric': 0.17437252311756934, 'fraction_numerical': 0.017173051519154558, 'mean_word_length': 4.573529411764706, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '7495251', 'n_tokens_mistral': 347, 'n_tokens_neox': 317, 'n_words': 62}