<commit_before>#Assembled by dawidd6
CXX=g++
CXXFLAGS=-std=c++11 `pkg-config --libs appindicator3-0.1 --cflags appindicator3-0.1`
PROGRAM=indicator-net
SRC=$(wildcard src/*.cpp)
OBJ=$(SRC:.cpp=.o)
START_COLOR=\033[0;33m
CLOSE_COLOR=\033[m

src/%.o: src/%.cpp
	@echo "$(START_COLOR)[CXX]$(CLOSE_COLOR)   $<"
	@$(CXX) -c -o $@ $< $(CXXFLAGS)

bin/$(PROGRAM): $(OBJ)
	@echo "$(START_COLOR)[CXX]$(CLOSE_COLOR)   $@"
	@mkdir -p bin
	@$(CXX) -o $@ $^ $(CXXFLAGS)

install:
	@echo "$(START_COLOR)[IN]$(CLOSE_COLOR)   /usr/bin/$(PROGRAM)"
	@echo "$(START_COLOR)[IN]$(CLOSE_COLOR)   /usr/share/applications/$(PROGRAM).desktop"
	@echo "$(START_COLOR)[IN]$(CLOSE_COLOR)   /etc/xdg/autostart/$(PROGRAM).desktop"
	@install bin/$(PROGRAM) /usr/bin
	@install $(PROGRAM).desktop /usr/share/applications
	@install $(PROGRAM).desktop /etc/xdg/autostart

uninstall:
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   /usr/bin/$(PROGRAM)"
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   /usr/share/applications/$(PROGRAM).desktop"
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   /etc/xdg/autostart/$(PROGRAM).desktop"
	@rm -rf /usr/bin/$(PROGRAM)
	@rm -rf /usr/share/applications/$(PROGRAM).desktop
	@rm -rf /etc/xdg/autostart/$(PROGRAM).desktop

clean:
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   $(OBJ)"
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   bin"
	@rm -rf $(OBJ)
	@rm -rf bin

.PHONY: install uninstall clean<commit_msg>unified makefile<commit_after>#Assembled by dawidd6
COMPILER=g++
CFLAGS=-std=c++11 `pkg-config --libs appindicator3-0.1 --cflags appindicator3-0.1`
PROGRAM=indicator-net
SRC=$(wildcard src/*.cpp)
OBJ=$(SRC:.cpp=.o)
START_COLOR=\033[0;33m
CLOSE_COLOR=\033[m

src/%.o: src/%.cpp
	@echo "$(START_COLOR)[CXX]$(CLOSE_COLOR)   $<"
	@$(COMPILER) -c -o $@ $< $(CFLAGS)

$(PROGRAM): $(OBJ)
	@echo "$(START_COLOR)[LD]$(CLOSE_COLOR)   $@"
	@$(COMPILER) -o $@ $^ $(CFLAGS)

install:
	@echo "$(START_COLOR)[INSTALL]$(CLOSE_COLOR)   /usr/bin/$(PROGRAM)"
	@echo "$(START_COLOR)[INSTALL]$(CLOSE_COLOR)   /usr/share/applications/$(PROGRAM).desktop"
	@echo "$(START_COLOR)[INSTALL]$(CLOSE_COLOR)   /etc/xdg/autostart/$(PROGRAM).desktop"
	@install $(PROGRAM) /usr/bin
	@install $(PROGRAM).desktop /usr/share/applications
	@install $(PROGRAM).desktop /etc/xdg/autostart

uninstall:
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   /usr/bin/$(PROGRAM)"
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   /usr/share/applications/$(PROGRAM).desktop"
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   /etc/xdg/autostart/$(PROGRAM).desktop"
	@rm -rf /usr/bin/$(PROGRAM)
	@rm -rf /usr/share/applications/$(PROGRAM).desktop
	@rm -rf /etc/xdg/autostart/$(PROGRAM).desktop

clean:
	@echo "$(START_COLOR)[RM]$(CLOSE_COLOR)   $(OBJ) $(PROGRAM)"
	@rm -rf $(OBJ) $(PROGRAM)

.PHONY: install uninstall clean
{'fraction_non_alphanumeric': 0.22445255474452555, 'fraction_numerical': 0.013138686131386862, 'mean_word_length': 5.344907407407407, 'pattern_counts': {'":': 0, '<': 7, '<?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': '428842', 'n_tokens_mistral': 1242, 'n_tokens_neox': 1125, 'n_words': 171}