<commit_before>## Makefile for js

VERSION := 0.0.2
PROJECT := libjs

LIBFILES := libjs.so
BINFILES := jsstart jsd jscat

default: $(LIBFILES) $(BINFILES)

include /usr/share/make-common/common.1.mk

# apparently ach requires this, or at least c99
CFLAGS += --std=gnu99

include/js/js_msg.h: msg/js.lisp
	cd include/js && \
	  sbcl --noinform --noprint --eval "(require 'genmsg)"\
	  --load ../../$< --eval "(quit)"

$(call LINKBIN, jsstart, jsstart.o, js)
$(call LINKBIN, jsd, jsd.o, js ach pthread rt)
$(call LINKBIN, jscat, jscat.o, js ach pthread rt)
$(call LINKLIB, js, js.o)


clean: 
	rm -vf *.o *.so jsstart jsd
	rm -rf .deps

doc:
	doxygen
<commit_msg>Updated makefiles to work with some of jon's make-common portability enhancements.<commit_after>## Makefile for js

VERSION := 0.0.2
PROJECT := libjs

SHAREDLIBS := js
BINFILES := jsstart jsd jscat

default: $(LIBFILES) $(BINFILES)

include /usr/share/make-common/common.1.mk

# apparently ach requires this, or at least c99
CFLAGS += --std=gnu99

include/js/js_msg.h: msg/js.lisp
	cd include/js && \
	  sbcl --noinform --noprint --eval "(require 'genmsg)"\
	  --load ../../$< --eval "(quit)"

$(call LINKBIN, jsstart, jsstart.o, js)
$(call LINKBIN, jsd, jsd.o, js ach pthread rt)
$(call LINKBIN, jscat, jscat.o, js ach pthread rt)
$(call LINKLIB, js, js.o)


clean: 
	rm -vf *.o *.so jsstart jsd
	rm -rf .deps

doc:
	doxygen

{'fraction_non_alphanumeric': 0.16149963950973323, 'fraction_numerical': 0.011535688536409516, 'mean_word_length': 3.3375, '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': '5535404', 'n_tokens_mistral': 592, 'n_tokens_neox': 554, 'n_words': 168}