<commit_before># Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

TARGET = crouton
WRAPPER = build/wrapper.sh
SCRIPTS := \
	$(wildcard chroot-bin/*) \
	$(wildcard chroot-etc/*) \
	$(wildcard host-bin/*) \
	$(wildcard installer/*.sh) installer/functions \
	$(wildcard installer/*/*) \
	$(wildcard src/*) \
	$(wildcard targets/*)
GENVERSION = build/genversion.sh
VERSION = 0
TARPARAMS ?= -j

$(TARGET): $(WRAPPER) $(SCRIPTS) $(GENVERSION) Makefile
	{ \
		sed -e "s/\$$TARPARAMS/$(TARPARAMS)/" \
			-e "s/VERSION=.*/VERSION='$(shell $(GENVERSION) $(VERSION))'/" \
			$(WRAPPER) \
		&& tar --owner=root --group=root -c $(TARPARAMS) $(SCRIPTS) \
		&& chmod +x /dev/stdout \
	;} > $(TARGET)

croutoncursor: src/cursor.c Makefile
	gcc -g -Wall -Werror src/cursor.c -lX11 -lXfixes -lXrender -o croutoncursor

croutonxi2event: src/xi2event.c Makefile
	gcc -g -Wall -Werror src/xi2event.c -lX11 -lXi -o croutonxi2event

clean:
	rm -f $(TARGET) croutoncursor croutonxi2event
<commit_msg>Delete failed builds in makefile.<commit_after># Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

TARGET = crouton
WRAPPER = build/wrapper.sh
SCRIPTS := \
	$(wildcard chroot-bin/*) \
	$(wildcard chroot-etc/*) \
	$(wildcard host-bin/*) \
	$(wildcard installer/*.sh) installer/functions \
	$(wildcard installer/*/*) \
	$(wildcard src/*) \
	$(wildcard targets/*)
GENVERSION = build/genversion.sh
VERSION = 0
TARPARAMS ?= -j

$(TARGET): $(WRAPPER) $(SCRIPTS) $(GENVERSION) Makefile
	{ \
		sed -e "s/\$$TARPARAMS/$(TARPARAMS)/" \
			-e "s/VERSION=.*/VERSION='$(shell $(GENVERSION) $(VERSION))'/" \
			$(WRAPPER) \
		&& tar --owner=root --group=root -c $(TARPARAMS) $(SCRIPTS) \
		&& chmod +x /dev/stdout \
	;} > $(TARGET) || ! rm -f $(TARGET)

croutoncursor: src/cursor.c Makefile
	gcc -g -Wall -Werror src/cursor.c -lX11 -lXfixes -lXrender -o croutoncursor

croutonxi2event: src/xi2event.c Makefile
	gcc -g -Wall -Werror src/xi2event.c -lX11 -lXi -o croutonxi2event

clean:
	rm -f $(TARGET) croutoncursor croutonxi2event

{'fraction_non_alphanumeric': 0.1685342895562528, 'fraction_numerical': 0.012550425818018825, 'mean_word_length': 3.5551020408163265, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6548601', 'n_tokens_mistral': 906, 'n_tokens_neox': 855, 'n_words': 227}