<commit_before>#
#
#

CC      := gcc
LD      := gcc
CFLAGS  += -g
LDFLAGS += -lm
INCLUDES+= -Ilua-5.2.2/src/ \
           -Ilpeg-0.12/

#######

LUASRC :=   lapi.c lauxlib.c lbaselib.c lbitlib.c lcode.c lcorolib.c lctype.c \
            ldblib.c ldebug.c ldo.c ldump.c lfunc.c lgc.c linit.c liolib.c \
            llex.c lmathlib.c lmem.c loadlib.c lobject.c lopcodes.c loslib.c \
            lparser.c lstate.c lstring.c lstrlib.c ltable.c ltablib.c ltm.c \
            lundump.c lvm.c lzio.c 

LPEGSRC:=   lpcap.c lpcode.c lpprint.c lptree.c lpvm.c 

LUADIR :=  lua-5.2.2/src/
LPEGDIR:=  lpeg-0.12/
SRC    :=  $(LUASRC) \
           $(LPEGSRC) \
           main.c

OBJDIR = .obj
OBJS   = $(addprefix $(OBJDIR)/,$(SRC:.c=.o))

VPATH  += $(LUADIR):$(LPEGDIR):. 

########

ile : $(OBJS)
	@echo Linking...
	$(LD) -o ile $(LDFLAGS) $(OBJS)

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

$(OBJS) : | $(OBJDIR)

$(OBJDIR):
	-mkdir -p $(OBJDIR)

.PHONY: clean

clean: 
	-rm -r $(OBJDIR) ile 2> /dev/null<commit_msg>Added obj dependency to Makefile, thus triggering recompilation if Makefile is modified.<commit_after>#
#
#

CC      := gcc
LD      := gcc
CFLAGS  += -g
LDFLAGS += -lm
INCLUDES+= -Ilua-5.2.2/src/ \
           -Ilpeg-0.12/

#######

LUASRC :=   lapi.c lauxlib.c lbaselib.c lbitlib.c lcode.c lcorolib.c lctype.c \
            ldblib.c ldebug.c ldo.c ldump.c lfunc.c lgc.c linit.c liolib.c \
            llex.c lmathlib.c lmem.c loadlib.c lobject.c lopcodes.c loslib.c \
            lparser.c lstate.c lstring.c lstrlib.c ltable.c ltablib.c ltm.c \
            lundump.c lvm.c lzio.c 

LPEGSRC:=   lpcap.c lpcode.c lpprint.c lptree.c lpvm.c 

LUADIR :=  lua-5.2.2/src/
LPEGDIR:=  lpeg-0.12/
SRC    :=  $(LUASRC) \
           $(LPEGSRC) \
           main.c

OBJDIR = .obj
OBJS   = $(addprefix $(OBJDIR)/,$(SRC:.c=.o))

VPATH  += $(LUADIR):$(LPEGDIR):. 

########

ile : $(OBJS)
	@echo Linking...
	$(LD) -o ile $(LDFLAGS) $(OBJS)

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

$(OBJS) : | $(OBJDIR)

$(OBJDIR):
	-mkdir -p $(OBJDIR)

$(OBJS) : Makefile

.PHONY: clean

clean: 
	-rm -r $(OBJDIR) ile 2> /dev/null
{'fraction_non_alphanumeric': 0.19934792734047507, 'fraction_numerical': 0.012109920819748486, 'mean_word_length': 2.108538350217077, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2505794', 'n_tokens_mistral': 1061, 'n_tokens_neox': 983, 'n_words': 206}