<commit_before>SHELL = /bin/sh
SYSTEM = $(shell uname)

DFLAGS = 

ifeq ($(SYSTEM),Darwin)
DFLAGS += -D__APPLE__
endif

ifeq ($(SYSTEM),FreeBSD)
DFLAGS += -D__FREEBSD__
endif

ifeq ($(SYSTEM),SunOS)
DFLAGS += -D__SOLARIS__
endif

RM = rm -f
CXX = g++
CC = $(CXX)
LDFLAGS = -L/usr/local/lib -lpthread -levent -lz
CXXFLAGS = $(DFLAGS) -I. -I/usr/local/include -L/usr/local/lib

OBJS = map.o chat.o commands.o config.o constants.o logger.o mapgen.o nbt.o packets.o physics.o sockets.o tools.o user.o perlin.o mineserver.o
PROG = ./mineserver
PROGS = $(PROG)

$(PROGS): $(OBJS)

clean: 
	$(RM) $(OBJS) $(PROGS)

<<<<<<< HEAD
=======
clean-objs:
	$(RM) $(OBJS)

clean-progs:
	$(RM) $(PROGS)

$(OBJS): %.o: %.cpp
	$(C++) -o $@ $(CFLAGS) -c $<

$(PROG): $(OBJS)

>>>>>>> CodeReview
all: $(PROGS)

chat.o: chat.cpp logger.h constants.h tools.h map.h user.h chat.h config.h physics.h
commands.o: commands.cpp logger.h constants.h tools.h map.h user.h chat.h config.h physics.h
config.o: config.cpp logger.h constants.h config.h
constants.o: constants.cpp constants.h
logger.o: logger.cpp logger.h
map.o: map.cpp logger.h tools.h map.h user.h nbt.h config.h
mapgen.o: mapgen.cpp logger.h constants.h config.h mapgen.h
nbt.o: nbt.cpp tools.h nbt.h map.h
packets.o: packets.cpp constants.h logger.h sockets.h tools.h map.h user.h chat.h config.h nbt.h packets.h physics.h
physics.o: physics.cpp logger.h constants.h config.h user.h map.h vec.h physics.h
sockets.o: sockets.cpp logger.h constants.h tools.h user.h map.h chat.h nbt.h packets.h
tools.o: tools.cpp tools.h
user.o: user.cpp constants.h logger.h tools.h map.h user.h nbt.h chat.h packets.h
mineserver.o: mineserver.cpp constants.h logger.h sockets.h tools.h map.h user.h chat.h mapgen.h config.h nbt.h packets.h physics.h
perlin.o: perlin.cpp perlin.h
<commit_msg>Fixed a weird bug in git.<commit_after>SHELL = /bin/sh
SYSTEM = $(shell uname)

DFLAGS = 

ifeq ($(SYSTEM),Darwin)
DFLAGS += -D__APPLE__
endif

ifeq ($(SYSTEM),FreeBSD)
DFLAGS += -D__FREEBSD__
endif

ifeq ($(SYSTEM),SunOS)
DFLAGS += -D__SOLARIS__
endif

RM = rm -f
CXX = g++
CC = $(CXX)
LDFLAGS = -L/usr/local/lib -lpthread -levent -lz
CXXFLAGS = $(DFLAGS) -I. -I/usr/local/include -L/usr/local/lib

OBJS = map.o chat.o commands.o config.o constants.o logger.o mapgen.o nbt.o packets.o physics.o sockets.o tools.o user.o perlin.o mineserver.o
PROG = ./mineserver
PROGS = $(PROG)

$(PROGS): $(OBJS)

clean: 
	$(RM) $(OBJS) $(PROGS)

all: $(PROGS)

chat.o: chat.cpp logger.h constants.h tools.h map.h user.h chat.h config.h physics.h
commands.o: commands.cpp logger.h constants.h tools.h map.h user.h chat.h config.h physics.h
config.o: config.cpp logger.h constants.h config.h
constants.o: constants.cpp constants.h
logger.o: logger.cpp logger.h
map.o: map.cpp logger.h tools.h map.h user.h nbt.h config.h
mapgen.o: mapgen.cpp logger.h constants.h config.h mapgen.h
nbt.o: nbt.cpp tools.h nbt.h map.h
packets.o: packets.cpp constants.h logger.h sockets.h tools.h map.h user.h chat.h config.h nbt.h packets.h physics.h
physics.o: physics.cpp logger.h constants.h config.h user.h map.h vec.h physics.h
sockets.o: sockets.cpp logger.h constants.h tools.h user.h map.h chat.h nbt.h packets.h
tools.o: tools.cpp tools.h
user.o: user.cpp constants.h logger.h tools.h map.h user.h nbt.h chat.h packets.h
mineserver.o: mineserver.cpp constants.h logger.h sockets.h tools.h map.h user.h chat.h mapgen.h config.h nbt.h packets.h physics.h
perlin.o: perlin.cpp perlin.h

{'fraction_non_alphanumeric': 0.1578795736099107, 'fraction_numerical': 0.0, 'mean_word_length': 3.5925925925925926, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 10, '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': '2584646', 'n_tokens_mistral': 1443, 'n_tokens_neox': 1400, 'n_words': 378}