<commit_before># GTL - experimental automatic use of multiprocessor systems to speed up make 
# May break things, don't know. 
PROCCOUNT=$(shell cat /proc/cpuinfo | grep -c ^processor) 
ifneq (${PROCCOUNT}, 0) 
	MAKEFLAGS+=-j $(PROCCOUNT) 
endif 

CPPFLAGS += -Wall -g -O0 -ggdb -Weffc++
CPPFLAGS += -I../../include

# watcherd API
SRCS=seekWatcherMessage.cpp speedWatcherMessage.cpp startWatcherMessage.cpp \
	stopWatcherMessage.cpp nodeStatusMessage.cpp

# feeder API
SRCS += edgeMessage.cpp labelMessage.cpp watcherColors.cpp colorMessage.cpp \
	gpsMessage.cpp messageStatus.cpp dataRequestMessage.cpp message.cpp \
	messageTypesAndVersions.cpp testMessage.cpp

OBJS=${SRCS:.cpp=.o}


all: libwatcher.a

.PHONY : clean

libwatcher.a: ${OBJS}
	ar cr $@ ${OBJS}

clean:
	$(RM) -f libwatcher.a ${OBJS} depend

DEPENDSOURCES:=${shell find . -name \*.cpp -o -name \*.c -o -name \*.h -o -name \*.hpp}
depend: 
	@echo Building dependencies...
	@$(RM) depend
	@$(CXX) -MM $(CPPFLAGS) $(CFLAGS) ${DEPENDSOURCES} 2>/dev/null > $@; 
	@for f in ${OBJS}  ; do echo "$$f: Makefile" >> $@; done

# no errors if "depend" doesn't exist
-include depend

<commit_msg>Makefile: added tags build, which calss ctags -R ..<commit_after># GTL - experimental automatic use of multiprocessor systems to speed up make 
# May break things, don't know. 
PROCCOUNT=$(shell cat /proc/cpuinfo | grep -c ^processor) 
ifneq (${PROCCOUNT}, 0) 
	MAKEFLAGS+=-j $(PROCCOUNT) 
endif 

CPPFLAGS += -Wall -g -O0 -ggdb -Weffc++
CPPFLAGS += -I../../include

# watcherd API
SRCS=seekWatcherMessage.cpp speedWatcherMessage.cpp startWatcherMessage.cpp \
	stopWatcherMessage.cpp nodeStatusMessage.cpp

# feeder API
SRCS += edgeMessage.cpp labelMessage.cpp watcherColors.cpp colorMessage.cpp \
	gpsMessage.cpp messageStatus.cpp dataRequestMessage.cpp message.cpp \
	messageTypesAndVersions.cpp testMessage.cpp

OBJS=${SRCS:.cpp=.o}


all: libwatcher.a

.PHONY : clean tags

libwatcher.a: ${OBJS}
	ar cr $@ ${OBJS}

clean:
	$(RM) -f libwatcher.a ${OBJS} 

tags: 
	ctags -R ..

DEPENDSOURCES:=${shell find . -name \*.cpp -o -name \*.c -o -name \*.h -o -name \*.hpp}
depend: 
	@echo Building dependencies...
	@$(RM) depend
	@$(CXX) -MM $(CPPFLAGS) $(CFLAGS) ${DEPENDSOURCES} 2>/dev/null > $@; 
	@for f in ${OBJS}  ; do echo "$$f: Makefile" >> $@; done

# no errors if "depend" doesn't exist
-include depend


{'fraction_non_alphanumeric': 0.1538135593220339, 'fraction_numerical': 0.002542372881355932, 'mean_word_length': 3.8480492813141685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3272487', 'n_tokens_mistral': 890, 'n_tokens_neox': 852, 'n_words': 241}