<commit_before>CC = gcc
CFLAGS = -std=gnu99 -g -Wall -O3
OBJS = simulator.o opstable.o instructions.o utils.o main.o memory.o interrupt.o io.o dps.o gci.o monitor.o
FIFO = sci_txd sci_rxd gci_display_char

mist32_simulator: $(OBJS) $(FIFO)
	$(CC) $(CFLAGS) -lrt -lelf -lmsgpack -o $@ $(OBJS)

.c.o: common.h
	$(CC) $(CFLAGS) -c $<

common.h: memory.h instruction_format.h io.h

instructions.o opstable.o: instructions.h
io.o monitor.o: monitor.h
interrupt.o: interrupt.h

$(FIFO):
	mkfifo $@

clean:
	rm *.o mist32_simulator<commit_msg>added install in Makefile<commit_after>CC = gcc
CFLAGS = -std=gnu99 -g -Wall -O3
OBJS = simulator.o opstable.o instructions.o utils.o main.o memory.o interrupt.o io.o dps.o gci.o monitor.o
FIFO = sci_txd sci_rxd gci_display_char

mist32_simulator: $(OBJS) $(FIFO)
	$(CC) $(CFLAGS) -lrt -lelf -lmsgpack -o $@ $(OBJS)

.c.o: common.h
	$(CC) $(CFLAGS) -c $<

common.h: memory.h instruction_format.h io.h

instructions.o opstable.o: instructions.h
io.o monitor.o: monitor.h
interrupt.o: interrupt.h

$(FIFO):
	mkfifo $@

install: mist32_simulator
	cp mist32_simulator /usr/local/bin/

clean:
	rm *.o mist32_simulator
{'fraction_non_alphanumeric': 0.1489547038327526, 'fraction_numerical': 0.0156794425087108, 'mean_word_length': 3.9740259740259742, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6655258', 'n_tokens_mistral': 507, 'n_tokens_neox': 478, 'n_words': 119}