<commit_before>BIN = sscall
VER = 0.2-rc2
SRC = sscall.c
OBJ = ${SRC:.c=.o}

PREFIX = /usr
MANDIR = /man/man1
MANDST = ${PREFIX}${MANDIR}

CC = gcc

# These might need updating, depending on your system
INCS = -I/usr/local/include
LIBS = -L/usr/local/lib

CFLAGS += -Wall -Wextra -DVERSION=\"${VER}\" ${INCS}
# Add -lsocket if you are building on Solaris
LDFLAGS += -lao -lpthread -lspeex -lsamplerate ${LIBS}

$(BIN): ${OBJ}
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJ}

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

clean:
	@rm -rf ${BIN} ${OBJ}

all:
	sscall

install:
	cp -f ${BIN} ${PREFIX}/bin
	chmod 755 ${PREFIX}/bin/${BIN}
	mkdir -p ${MANDST}
	gzip -c man/man1/sscall.1 > man/man1/sscall.1.gz
	mv -f man/man1/sscall.1.gz ${MANDST}
	chmod 644 ${MANDST}/sscall.1.gz

uninstall:
	rm -f ${PREFIX}/bin/${BIN}
	rm -f ${MANDST}/sscall.1.gz

.PHONY: all clean install uninstall<commit_msg>sscall: Update CFLAGS<commit_after>BIN = sscall
VER = 0.2-rc2
SRC = sscall.c
OBJ = ${SRC:.c=.o}

PREFIX = /usr
MANDIR = /man/man1
MANDST = ${PREFIX}${MANDIR}

CC = gcc

# These might need updating, depending on your system
INCS = -I/usr/local/include
LIBS = -L/usr/local/lib

CFLAGS += -O3 -Wall -Wextra -Wunused -DVERSION=\"${VER}\" ${INCS}
# Add -lsocket if you are building on Solaris
LDFLAGS += -lao -lpthread -lspeex -lsamplerate ${LIBS}

$(BIN): ${OBJ}
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJ}

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

clean:
	@rm -rf ${BIN} ${OBJ}

all:
	sscall

install:
	cp -f ${BIN} ${PREFIX}/bin
	chmod 755 ${PREFIX}/bin/${BIN}
	mkdir -p ${MANDST}
	gzip -c man/man1/sscall.1 > man/man1/sscall.1.gz
	mv -f man/man1/sscall.1.gz ${MANDST}
	chmod 644 ${MANDST}/sscall.1.gz

uninstall:
	rm -f ${PREFIX}/bin/${BIN}
	rm -f ${MANDST}/sscall.1.gz

.PHONY: all clean install uninstall
{'fraction_non_alphanumeric': 0.20517144463181564, 'fraction_numerical': 0.020798201236649803, 'mean_word_length': 3.3309002433090025, 'pattern_counts': {'":': 0, '<': 5, '<?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': '543021', 'n_tokens_mistral': 820, 'n_tokens_neox': 796, 'n_words': 205}