diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-20 21:52:45 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-21 11:19:55 +0200 |
commit | 75112f2ba5185dd0d936b63186421db0b1549532 (patch) | |
tree | cbf94177a75d94b5c2cd047079ed653f36bd2491 /Makefile | |
parent | dc6de7e4c07d4f7fb7827b4a9a156c2b8f643feb (diff) | |
download | fref-75112f2ba5185dd0d936b63186421db0b1549532.tar.gz |
Simplify Makefile
Diffstat (limited to 'Makefile')
-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 |