<commit_before>all: libsqlite3.a libvfs-ramcloud.a test test2 test3 upload download delete

DEBUG = no
ifeq ($(DEBUG),yes)
DEBUGFLAGS = -DDEBUG
endif

delete: delete.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o delete delete.c libvfs-ramcloud.a libsqlite3.a -ldl -lramcloud

download: download.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o download download.c libvfs-ramcloud.a libsqlite3.a -ldl -lramcloud

upload: upload.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o upload upload.c libvfs-ramcloud.a libsqlite3.a -ldl -lramcloud

test3: test3.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o test3 test3.c libsqlite3.a libvfs-ramcloud.a -ldl -lramcloud

test2: test2.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o test2 test2.c libsqlite3.a libvfs-ramcloud.a -ldl -lramcloud

test: test.c vfs-ramcloud.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o test test.c libsqlite3.a libvfs-ramcloud.a -ldl -lramcloud

libvfs-ramcloud.a: vfs-ramcloud.c vfs-ramcloud.h vfs-ramcloud-stats.h md5.c md5.h
	gcc -I. $(DEBUGFLAGS) -fPIC -g -O2 -fno-strict-aliasing -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvisibility=hidden -Wall -MT vfs-ramcloud.o -MD -MP -c -o vfs-ramcloud.o vfs-ramcloud.c
	gcc -I. -fPIC -g -O2 -fno-strict-aliasing -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvisibility=hidden -Wall -MT md5.o -MD -MP -c -o md5.o md5.c
	ar cru libvfs-ramcloud.a vfs-ramcloud.o md5.o
	ranlib libvfs-ramcloud.a

libsqlite3.a: sqlite3.c sqlite3.h
	gcc -DHAVE_CONFIG_H -I. -I../.. -w -fPIC -DSQLITE_OMIT_WAL=1 -DSQLITE_ENABLE_ATOMIC_WRITE=1 -DSQLITE_THREADSAFE=2 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_MEMSYS5 -g -O2 -g -fno-strict-aliasing -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvisibility=hidden -Wall -D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE64_SOURCE -D__LARGE64_FILES -D_BUILT_IN_LIBCURL -D_BUILT_IN_SQLITE3 -D_BUILTIN_IN_ZLIB -MT sqlite3.o -MD -MP -c -o sqlite3.o sqlite3.c
	ar cru libsqlite3.a sqlite3.o
	ranlib libsqlite3.a

libclean:
	rm -f libvfs-ramcloud.a vfs-ramcloud.o md5.o

clean:
	rm -f *.o *.d
	rm -f libsqlite3.a
	rm -f libvfs-ramcloud.a
	rm -f test test2 test3 download upload<commit_msg>clean delete binary in makefile<commit_after>all: libsqlite3.a libvfs-ramcloud.a test test2 test3 upload download delete

DEBUG = no
ifeq ($(DEBUG),yes)
DEBUGFLAGS = -DDEBUG
endif

delete: delete.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o delete delete.c libvfs-ramcloud.a libsqlite3.a -ldl -lramcloud

download: download.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o download download.c libvfs-ramcloud.a libsqlite3.a -ldl -lramcloud

upload: upload.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o upload upload.c libvfs-ramcloud.a libsqlite3.a -ldl -lramcloud

test3: test3.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o test3 test3.c libsqlite3.a libvfs-ramcloud.a -ldl -lramcloud

test2: test2.c vfs-ramcloud.h vfs-ramcloud-stats.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o test2 test2.c libsqlite3.a libvfs-ramcloud.a -ldl -lramcloud

test: test.c vfs-ramcloud.h libvfs-ramcloud.a libsqlite3.a
	gcc -pthread -std=c99 -O2 -g -Wall -o test test.c libsqlite3.a libvfs-ramcloud.a -ldl -lramcloud

libvfs-ramcloud.a: vfs-ramcloud.c vfs-ramcloud.h vfs-ramcloud-stats.h md5.c md5.h
	gcc -I. $(DEBUGFLAGS) -fPIC -g -O2 -fno-strict-aliasing -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvisibility=hidden -Wall -MT vfs-ramcloud.o -MD -MP -c -o vfs-ramcloud.o vfs-ramcloud.c
	gcc -I. -fPIC -g -O2 -fno-strict-aliasing -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvisibility=hidden -Wall -MT md5.o -MD -MP -c -o md5.o md5.c
	ar cru libvfs-ramcloud.a vfs-ramcloud.o md5.o
	ranlib libvfs-ramcloud.a

libsqlite3.a: sqlite3.c sqlite3.h
	gcc -DHAVE_CONFIG_H -I. -I../.. -w -fPIC -DSQLITE_OMIT_WAL=1 -DSQLITE_ENABLE_ATOMIC_WRITE=1 -DSQLITE_THREADSAFE=2 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_MEMSYS5 -g -O2 -g -fno-strict-aliasing -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvisibility=hidden -Wall -D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE64_SOURCE -D__LARGE64_FILES -D_BUILT_IN_LIBCURL -D_BUILT_IN_SQLITE3 -D_BUILTIN_IN_ZLIB -MT sqlite3.o -MD -MP -c -o sqlite3.o sqlite3.c
	ar cru libsqlite3.a sqlite3.o
	ranlib libsqlite3.a

libclean:
	rm -f libvfs-ramcloud.a vfs-ramcloud.o md5.o

clean:
	rm -f *.o *.d
	rm -f libsqlite3.a
	rm -f libvfs-ramcloud.a
	rm -f test test2 test3 download upload delete
{'fraction_non_alphanumeric': 0.12269462240341682, 'fraction_numerical': 0.027955736750145604, 'mean_word_length': 3.6082289803220036, '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': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '991809', 'n_tokens_mistral': 2359, 'n_tokens_neox': 2322, 'n_words': 502}