<commit_before># ---------- CSharp support using SWIG ----------
CSHARPEXE = \
	cslinearprogramming.exe \
	csintegerprogramming.exe \
	csrabbitspheasants.exe \
	csflow.exe \
	csknapsack.exe \
	furniture_moving_intervals.exe \
	organize_day_intervals.exe

csharpexe: $(CSHARPEXE)

# Main target.
csharp: csharpcp csharplp csharpalgorithms csharpgraph csharpexe

# Clean target.
clean_csharp:
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.$(SHAREDLIBEXT)
	-$(DEL) Google.OrTools.*.dll
	-$(DEL) Google.OrTools.*.mdb
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.lib
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.pdb
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.exp
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.netmodule
	-$(DEL) gen$Slinear_solver$S*csharp_wrap*
	-$(DEL) gen$Sconstraint_solver$S*csharp_wrap*
	-$(DEL) gen$Salgorithms$S*csharp_wrap*
	-$(DEL) gen$Sgraph$S*csharp_wrap*
	-$(DEL) gen$Scom$Sgoogle$Sortools$Slinearsolver$S*.cs
	-$(DEL) gen$Scom$Sgoogle$Sortools$Sconstraintsolver$S*.cs
	-$(DEL) gen$Scom$Sgoogle$Sortools$Sknapsacksolver$S*.cs
	-$(DEL) gen$Scom$Sgoogle$Sortools$Sgraph$S*.cs
	-$(DEL) objs$S*csharp_wrap.$O
	-$(DEL) cs*.exe

# csharplp

csharplp: $(LIBPREFIX)Google.OrTools.LinearSolver.$(SHAREDLIBEXT)

gen/linear_solver/linear_solver_csharp_wrap.cc: linear_solver/linear_solver.swig base/base.swig util/data.swig linear_solver/linear_solver.h gen/linear_solver/linear_solver.pb.h
	$(SWIG_BINARY) $(SWIG_INC) -c++ -csharp -o gen$Slinear_solver$Slinear_solver_csharp_wrap.cc -module operations_research -namespace Google.OrTools.LinearSolver -dllimport $(LIBPREFIX)Google.OrTools.LinearSolver.$(SHAREDLIBEXT) -outdir gen$Scom$Sgoogle$Sortools$Slinearsolver linear_solver$Slinear_solver.swig
<commit_msg>clean all .exe in clean_csharp<commit_after># ---------- CSharp support using SWIG ----------
CSHARPEXE = \
	cslinearprogramming.exe \
	csintegerprogramming.exe \
	csrabbitspheasants.exe \
	csflow.exe \
	csknapsack.exe \
	furniture_moving_intervals.exe \
	organize_day_intervals.exe

csharpexe: $(CSHARPEXE)

# Main target.
csharp: csharpcp csharplp csharpalgorithms csharpgraph csharpexe

# Clean target.
clean_csharp:
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.$(SHAREDLIBEXT)
	-$(DEL) Google.OrTools.*.dll
	-$(DEL) Google.OrTools.*.mdb
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.lib
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.pdb
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.exp
	-$(DEL) $(LIBPREFIX)Google.OrTools.*.netmodule
	-$(DEL) gen$Slinear_solver$S*csharp_wrap*
	-$(DEL) gen$Sconstraint_solver$S*csharp_wrap*
	-$(DEL) gen$Salgorithms$S*csharp_wrap*
	-$(DEL) gen$Sgraph$S*csharp_wrap*
	-$(DEL) gen$Scom$Sgoogle$Sortools$Slinearsolver$S*.cs
	-$(DEL) gen$Scom$Sgoogle$Sortools$Sconstraintsolver$S*.cs
	-$(DEL) gen$Scom$Sgoogle$Sortools$Sknapsacksolver$S*.cs
	-$(DEL) gen$Scom$Sgoogle$Sortools$Sgraph$S*.cs
	-$(DEL) objs$S*csharp_wrap.$O
	-$(DEL) *.exe

# csharplp

csharplp: $(LIBPREFIX)Google.OrTools.LinearSolver.$(SHAREDLIBEXT)

gen/linear_solver/linear_solver_csharp_wrap.cc: linear_solver/linear_solver.swig base/base.swig util/data.swig linear_solver/linear_solver.h gen/linear_solver/linear_solver.pb.h
	$(SWIG_BINARY) $(SWIG_INC) -c++ -csharp -o gen$Slinear_solver$Slinear_solver_csharp_wrap.cc -module operations_research -namespace Google.OrTools.LinearSolver -dllimport $(LIBPREFIX)Google.OrTools.LinearSolver.$(SHAREDLIBEXT) -outdir gen$Scom$Sgoogle$Sortools$Slinearsolver linear_solver$Slinear_solver.swig

{'fraction_non_alphanumeric': 0.16229749631811488, 'fraction_numerical': 0.0, 'mean_word_length': 5.987654320987654, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4598366', 'n_tokens_mistral': 1497, 'n_tokens_neox': 1403, 'n_words': 172}