<commit_before>default: all



CFLAGS := -I./include -g --std=gnu99
CXXFLAGS := -I./include -g

CC := gcc
CXX := g++

# SOCKETCAN #
CAN_LIBS :=
CAN_OBJS := src/hubo-socketcan.o
CAN_DEFS :=

# esd CAN #
# CAN_LIBS := -lntcan
# CAN_OBJS := src/hubo-esdcan.o
# CAN_DEFS := -DHUBO_CONFIG_ESD

BINARIES := hubo-main hubo-console hubo-loop

all : $(BINARIES)

LIBS := -lach -lrt $(CAN_LIBS)

hubo_main_objs := src/hubo-main.o $(CAN_OBJS)

hubo-main: $(hubo_main_objs)
	$(CC) -o $@  $(hubo_main_objs) $(LIBS) -lm -lc

hubo-read: src/hubo-read.c
	$(CC) $(CFLAGS) -o $@ $< -lach

hubo-console: src/hubo-console.o
	$(CXX)  -o $@ $< -lach -lreadline -lm -lc

hubo-loop: src/hubo-loop.o
	gcc -o $@ $< -lach -lrt -lm -lc

%.o: %.c
	$(CC) $(CFLAGS) -o $@ -c $<

%.o: %.cpp
	$(CXX) $(CXXFLAGS) -o $@ -c $<


clean:
	rm -f $(BINARIES) src/*.o

<commit_msg>removed hubo-default.c from Makefile<commit_after>default: all



CFLAGS := -I./include -g --std=gnu99
CXXFLAGS := -I./include -g

CC := gcc
CXX := g++

# SOCKETCAN #
CAN_LIBS :=
CAN_OBJS := src/hubo-socketcan.o
CAN_DEFS :=

# esd CAN #
# CAN_LIBS := -lntcan
# CAN_OBJS := src/hubo-esdcan.o
# CAN_DEFS := -DHUBO_CONFIG_ESD

BINARIES := hubo-main hubo-console hubo-loop hubo-read
all : $(BINARIES)

LIBS := -lach -lrt $(CAN_LIBS)

hubo_main_objs := src/hubo-main.o $(CAN_OBJS)

hubo-main: $(hubo_main_objs)
	$(CC) -o $@  $(hubo_main_objs) $(LIBS) -lm -lc

hubo-read: src/hubo-read.c
	$(CC) $(CFLAGS) -o $@ $< -lach

hubo-console: src/hubo-console.o
	$(CXX)  -o $@ $< -lach -lreadline -lm -lc

hubo-loop: src/hubo-loop.o
	gcc -o $@ $< -lach -lrt -lm -lc

%.o: %.c
	$(CC) $(CFLAGS) -o $@ -c $<

%.o: %.cpp
	$(CXX) $(CXXFLAGS) -o $@ -c $<


clean:
	rm -f $(BINARIES) src/*.o


{'fraction_non_alphanumeric': 0.21787383177570094, 'fraction_numerical': 0.002336448598130841, 'mean_word_length': 2.993006993006993, 'pattern_counts': {'":': 0, '<': 13, '<?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': '5570650', 'n_tokens_mistral': 869, 'n_tokens_neox': 824, 'n_words': 176}