diff options
author | June McEnroe <june@causal.agency> | 2020-12-15 23:52:37 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-15 23:52:37 -0500 |
commit | c401b3d4af2462e96aa327f1282e2882aa94609a (patch) | |
tree | 8c803064ffbb65a37882466a61cedb57de3457aa /bin/Makefile | |
parent | Add modem -r flag to set baud rate (diff) | |
download | src-c401b3d4af2462e96aa327f1282e2882aa94609a.tar.gz src-c401b3d4af2462e96aa327f1282e2882aa94609a.zip |
Add bibsort
My first perl script! hi doesn't have syntax highlighting for perl, and I don't think I could sanely implement it, but oh well.
Diffstat (limited to '')
-rw-r--r-- | bin/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/bin/Makefile b/bin/Makefile index 3ba877c1..5691b0fc 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -20,6 +20,7 @@ LDLIBS.title = -lcurl -include config.mk BINS += beef +BINS += bibsort BINS += bit BINS += c BINS += dtch @@ -65,12 +66,18 @@ tls: meta ${BINS_TLS} meta: .gitignore tags +.SUFFIXES: .pl + .c: ${CC} ${CFLAGS} ${LDFLAGS} $< ${LDLIBS.$@} -o $@ .o: ${CC} ${LDFLAGS} $< ${LDLIBS.$@} -o $@ +.pl: + cp -f $< $@ + chmod a+x $@ + hi: hi.c ${CC} ${CFLAGS} ${LDFLAGS} hi.c ${LDLIBS.$@} -o $@ ./hi -c @@ -127,11 +134,14 @@ ${HTMLS}: html.sh scheme hi ttpre .h.html: sh html.sh $< man3/${<:.h=.3} > $@ +.y.html: + sh html.sh $< man1/${<:.y=.1} > $@ + .sh.html: sh html.sh $< man1/${<:.sh=.1} > $@ -.y.html: - sh html.sh $< man1/${<:.y=.1} > $@ +.pl.html: + sh html.sh $< man1/${<:.pl=.1} > $@ index.html: Makefile README.7 sh html.sh Makefile README.7 \ |