<commit_before># make       -> compile microcoap app
# make clean -> remove the app file and all object files (.o)
# make all   -> clean and compile
APPNAME  = microcoap
SRC     = main-posix.c   \
          libraries/microcoap/microcoap.c \
          microcoap-example/endpoints.c
# compilation options
CFLAGS  = -Wall -DDEBUG
INC_DIR = libraries/microcoap \
          microcoap-example
# -DIPV6

# how to compile individual object files
OBJS    = $(SRC:.c=.o)
.c.o:
	$(CC) $(CFLAGS) -I$(INC_DIR) -c $< -o $@

.PHONY: all clean

# app compilation
$(APPNAME): $(OBJS) $(SRC)
	$(CC) $(OBJS) -o $(APPNAME)

# cleaning rule
clean:
	rm -f $(OBJS) $(APPNAME) *~

# additional rule
all: clean $(APPNAME)<commit_msg>working on microcoap<commit_after># make       -> compile microcoap app
# make clean -> remove the app file and all object files (.o)
# make all   -> clean and compile
APPNAME  = microcoap
SRC     = main-posix.c   \
          ../microcoap.c \
          ../microcoap-example/endpoints.c
# compilation options
CFLAGS  = -Wall -DDEBUG
INC_DIR = ../ \
          ../microcoap-example
# -DIPV6

# how to compile individual object files
OBJS    = $(SRC:.c=.o)
.c.o:
	$(CC) $(CFLAGS) -I$(INC_DIR) -c $< -o $@

.PHONY: all clean

# app compilation
$(APPNAME): $(OBJS) $(SRC)
	$(CC) $(OBJS) -o $(APPNAME)

# cleaning rule
clean:
	rm -f $(OBJS) $(APPNAME) *~

# additional rule
all: clean $(APPNAME)
{'fraction_non_alphanumeric': 0.15544412607449856, 'fraction_numerical': 0.0014326647564469914, 'mean_word_length': 2.7154255319148937, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '763859', 'n_tokens_mistral': 523, 'n_tokens_neox': 501, 'n_words': 148}