diff options
-rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,12 +1,11 @@ CFLAGS += -std=c89 -LDFLAGS += -lfl +LDLIBS += -lfl -fref: lex.yy.c - $(CC) $(CFLAGS) -o fref lex.yy.c $(LDFLAGS) +fref: fref.c -lex.yy.c: fref.lex - flex fref.lex +fref.c: fref.lex + flex -ofref.c fref.lex -install: +install: fref install fref /usr/local/bin install -m 644 fref.1 /usr/local/man/man1 |