Skip to content

Instantly share code, notes, and snippets.

View nitingupta910's full-sized avatar

Nitin Gupta nitingupta910

View GitHub Profile
@nitingupta910
nitingupta910 / main.c
Last active March 26, 2025 20:47 — forked from crosbymichael/main.c
rocksdb C example
/*
Makefile:
(make sure Makefile is indented using a tab and not spaces)
all:
cc -Wall -g -O0 rdb_mergeop.c -o rdb_mergeop -lstdc++ -lrocksdb -lsnappy -lbz2 -llz4 -lz
clean:
rm -rf rdb_mergeop
rm -rf testdb
*/