<commit_before># Begin standard header
sp 		:= $(sp).x
dirstack_$(sp)	:= $(d)
d		:= $(dir)
# End standard header

NGL_DIRECTORY := $(d)
NGL_BUILD := build/ngl_generator
NGL_FILTER := $(NGL_BUILD)/filter
NGL_EXTRACTOR := $(NGL_BUILD)/extractor

ngl_generator = $(NGL_FILTER) $(NGL_FILTER)

NGL_EXTRACTOR_LDFLAGS :=
NGL_LL := $(LEX)

$(NGL_FILTER): $(call filelist, filter.cpp)
	mkdir -p $(dir $@)
	$(CXX) -o $@ $<

$(NGL_EXTRACTOR): $(NGL_BUILD)/gl_flex.o $(NGL_BUILD)/HeaderCreator.o
	$(CXX) -o $@ $^ $(NGL_EXTRACTOR_LDFLAGS)

$(NGL_BUILD)/gl_flex.cpp: $(call filelist, gl_flex.fl.cpp)
	mkdir -p $(dir $@)
	$(NGL_LL) -o $@ $<

$(NGL_BUILD)/gl_flex.o: $(NGL_BUILD)/gl_flex.cpp $(call filelist, HeaderCreator.hpp)
	mkdir -p $(dir $@)
	$(CXX) -I$(NGL_DIRECTORY) -o $@ -c $<

$(NGL_BUILD)/HeaderCreator.o: $(call filelist, HeaderCreator.cpp HeaderCreator.hpp)
	mkdir -p $(dir $@)
	$(CXX) -o $@ -c $<

SUPER_CLEAN_FILES += $(NGL_FILTER) $(NGL_EXTRACTOR)
SUPER_CLEAN_FILES += $(NGL_BUILD)/gl_flex.cpp $(NGL_BUILD)/gl_flex.o $(NGL_BUILD)/HeaderCreator.o

# Begin standard footer
d		:= $(dirstack_$(sp))
sp		:= $(basename $(sp))
# End standard footer
<commit_msg>fastuidraw/gl_backend/ngl_generator/Rules.mk: use LEX symbol directly<commit_after># Begin standard header
sp 		:= $(sp).x
dirstack_$(sp)	:= $(d)
d		:= $(dir)
# End standard header

NGL_DIRECTORY := $(d)
NGL_BUILD := build/ngl_generator
NGL_FILTER := $(NGL_BUILD)/filter
NGL_EXTRACTOR := $(NGL_BUILD)/extractor

ngl_generator = $(NGL_FILTER) $(NGL_FILTER)

NGL_EXTRACTOR_LDFLAGS :=

$(NGL_FILTER): $(call filelist, filter.cpp)
	mkdir -p $(dir $@)
	$(CXX) -o $@ $<

$(NGL_EXTRACTOR): $(NGL_BUILD)/gl_flex.o $(NGL_BUILD)/HeaderCreator.o
	$(CXX) -o $@ $^ $(NGL_EXTRACTOR_LDFLAGS)

$(NGL_BUILD)/gl_flex.cpp: $(call filelist, gl_flex.fl.cpp)
	mkdir -p $(dir $@)
	$(LEX) -o $@ $<

$(NGL_BUILD)/gl_flex.o: $(NGL_BUILD)/gl_flex.cpp $(call filelist, HeaderCreator.hpp)
	mkdir -p $(dir $@)
	$(CXX) -I$(NGL_DIRECTORY) -o $@ -c $<

$(NGL_BUILD)/HeaderCreator.o: $(call filelist, HeaderCreator.cpp HeaderCreator.hpp)
	mkdir -p $(dir $@)
	$(CXX) -o $@ -c $<

SUPER_CLEAN_FILES += $(NGL_FILTER) $(NGL_EXTRACTOR)
SUPER_CLEAN_FILES += $(NGL_BUILD)/gl_flex.cpp $(NGL_BUILD)/gl_flex.o $(NGL_BUILD)/HeaderCreator.o

# Begin standard footer
d		:= $(dirstack_$(sp))
sp		:= $(basename $(sp))
# End standard footer

{'fraction_non_alphanumeric': 0.2020460358056266, 'fraction_numerical': 0.0, 'mean_word_length': 5.176315789473684, 'pattern_counts': {'":': 0, '<': 11, '<?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': '5621751', 'n_tokens_mistral': 1068, 'n_tokens_neox': 1001, 'n_words': 186}