<commit_before>
#
# c、cpp混合编译的makefile模板
#


PLAT = none

TARGET_NAME = libluacjson.a
CC = $(CROSS)gcc
CXX = $(CROSS)g++
AR = $(CROSS)ar rcu
RANLIB = $(CROSS)ranlib
STRIP = $(CROSS)strip
RM = rm -f

CFLAGS = $(CROSS_FLAGS) $(EXTRA_CFLAGS)
CXXFLAGS = $(CROSS_FLAGS) $(EXTRA_CXXFLAGS)

EXTRA_CFLAGS = 
EXTRA_CXXFLAGS = 

EXTRA_INCS = 
EXTRA_LIBS = 


SRC_INCS = 

SRC_LIBS = 


C_SRC_ALL = $(wildcard ./lua_cjson.c ./strbuf.c ./fpconv.c)

CXX_SRC_ALL = $(wildcard ./*.cpp)




PLATS = win32-debug win32-release linux-debug linux-release
none:
	@echo "Please choose a platform:"
	@echo " $(PLATS)"

win32-debug:
	$(MAKE) all EXTRA_INCS="-I"./../lua/src"" EXTRA_CFLAGS="-Wall -DWIN32 -DDEBUG -g" EXTRA_CXXFLAGS="-Wall -DWIN32 -DDEBUG -g"

win32-release:
	$(MAKE) all EXTRA_INCS="-I"./../lua/src"" EXTRA_CFLAGS="-Wall -DWIN32 -DNDEBUG -O2" EXTRA_CXXFLAGS="-Wall -DWIN32 -DNDEBUG -O2"


linux-debug:
	$(MAKE) all EXTRA_INCS="-I"./../lua/src"" EXTRA_CFLAGS="-fPIC -Wall -DDEBUG -g" EXTRA_CXXFLAGS="-fPIC -Wall -DDEBUG -g"

linux-release:
	$(MAKE) all EXTRA_INCS="-I"./../lua/src"" EXTRA_CFLAGS="-fPIC -Wall -DNDEBUG -O2" EXTRA_CXXFLAGS="-fPIC -Wall -DNDEBUG -O2"

all:$(TARGET_NAME)


echo:
	@echo "PLAT = $(PLAT)"
	@echo "CC = $(CC)"
	@echo "CXX = $(CXX)"
	@echo "AR = $(AR)"<commit_msg>Sync update.<commit_after>
#
# c、cpp混合编译的makefile模板
#


PLAT = none

TARGET_NAME = libluacjson.a
CC = $(CROSS)gcc
CXX = $(CROSS)g++
AR = $(CROSS)ar rcu
RANLIB = $(CROSS)ranlib
STRIP = $(CROSS)strip
RM = rm -f

CFLAGS = $(CROSS_FLAGS) $(EXTRA_CFLAGS)
CXXFLAGS = $(CROSS_FLAGS) $(EXTRA_CXXFLAGS)

EXTRA_CFLAGS = 
EXTRA_CXXFLAGS = 

EXTRA_INCS = 
EXTRA_LIBS = 


SRC_INCS = 

SRC_LIBS = 


C_SRC_ALL = $(wildcard ./lua_cjson.c ./strbuf.c ./fpconv.c)

CXX_SRC_ALL = $(wildcard ./*.cpp)




PLATS = win-debug win-release linux-debug linux-release
none:
	@echo "Please choose a platform:"
	@echo " $(PLATS)"



win-debug:
	$(MAKE) all EXTRA_INCS="-I"./../lua/src"" EXTRA_CFLAGS="-Wall -DWIN32 -DDEBUG -g" EXTRA_CXXFLAGS="-Wall -DWIN32 -DDEBUG -g"

win-release:
	$(MAKE) all EXTRA_INCS="-I"./../lua/src"" EXTRA_CFLAGS="-Wall -DWIN32 -DNDEBUG -O2" EXTRA_CXXFLAGS="-Wall -DWIN32 -DNDEBUG -O2"


linux-debug:
	$(MAKE) all EXTRA_INCS="-I"./../lua/src"" EXTRA_CFLAGS="-fPIC -Wall -DDEBUG -g" EXTRA_CXXFLAGS="-fPIC -Wall -DDEBUG -g"

linux-release:
	$(MAKE) all EXTRA_INCS="-I"./../lua/src"" EXTRA_CFLAGS="-fPIC -Wall -DNDEBUG -O2" EXTRA_CXXFLAGS="-fPIC -Wall -DNDEBUG -O2"


all:$(TARGET_NAME)


echo:
	@echo "PLAT = $(PLAT)"
	@echo "CC = $(CC)"
	@echo "CXX = $(CXX)"
	@echo "AR = $(AR)"
{'fraction_non_alphanumeric': 0.19444444444444445, 'fraction_numerical': 0.012519561815336464, 'mean_word_length': 3.806390977443609, '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': '1472635', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1135, 'n_words': 230}