diff --git a/l2/Makefile b/l2/Makefile index a3eed42..f81118e 100644 --- a/l2/Makefile +++ b/l2/Makefile @@ -8,7 +8,7 @@ all: dirs 1 2 3 4 dirs: mkdir -p $(BIN) -%: %.l +%: %.lex $(FLEX) -o $(BIN)/$@.lex.yy.c $< $(CC) $(BIN)/$@.lex.yy.c -lfl -lm -o $(BIN)/$@