<commit_before>CC=clang
LIBS=-lX11 -lXtst
CFLAGS=-g -std=c99 -Wall
LDFLAGS=-g ${LIBS}

SRC=joystick.c
OBJ=joystick.o

.c.o:
	@${CC} -c ${CFLAGS} $<

${OBJ}: config.h

all: joystick

joystick: ${OBJ}
	@${CC} -o $@ ${OBJ} ${LDFLAGS}

clean:
	@rm -f joystick ${OBJ}
<commit_msg>Fix Makefile so 'all' is defaul. Add install rule.<commit_after>CC=clang
LIBS=-lX11 -lXtst
CFLAGS=-g -std=c99 -Wall
LDFLAGS=-g ${LIBS}

SRC=joystick.c
OBJ=joystick.o

PREFIX=/usr/local

all: joystick

.c.o:
	@${CC} -c ${CFLAGS} $<

${OBJ}: config.h

joystick: ${OBJ}
	@${CC} -o $@ ${OBJ} ${LDFLAGS}

install: all
	@echo Installing joystick to ${PREFIX}/bin
	@mkdir -p ${PREFIX}/bin
	@cp -f joystick ${PREFIX}/bin/
	@chmod 755 ${PREFIX}/bin/joystick

clean:
	@rm -f joystick ${OBJ}

{'fraction_non_alphanumeric': 0.20899470899470898, 'fraction_numerical': 0.01455026455026455, 'mean_word_length': 3.947712418300654, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1124906', 'n_tokens_mistral': 379, 'n_tokens_neox': 343, 'n_words': 84}