The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
####
# Makefile by Sam (http://devel.dob.sk)
#	for generation of flex based tokenizer
#
EXT	= c
FFLAGS	= -Cfar 
#FFLAGS	+= -p -p
FLEX	= flex $(FFLAGS)
FLEX_EXT= $(EXT).flex
O_FILE	= lex.tokenizer_yy.$(EXT)

all: $(O_FILE)

$(O_FILE): clean tokenizer.$(FLEX_EXT)
	$(FLEX) --nounistd tokenizer.$(FLEX_EXT)
	rm -f $(O_FILE).orig

.PHONY: all clean $(O_FILE)

clean:
	rm -f lex.tokenizer_yy.o

# FINI: makefile