From 8d1b288dfe408e3f95f6a3719464814dc90755d3 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 29 Jan 2018 13:22:43 -0500 Subject: Add fbclock --- bin/Makefile | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'bin/Makefile') diff --git a/bin/Makefile b/bin/Makefile index a51ff062..f1b99edd 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -1,11 +1,16 @@ -PINS = atch bri dtch hnel pbcopy pbd pbpaste wake xx -BINS = $(PINS) jrp klon typo watch +ANY_BINS = atch dtch hnel pbcopy pbd pbpaste wake xx +BSD_BINS = jrp klon typo watch +LIN_BINS = bri fbclock +ALL_BINS = $(ANY_BINS) $(BSD_BINS) $(LIN_BINS) + CFLAGS += -Wall -Wextra -Wpedantic -LDLIBS = -lcurses -ledit -lutil +LDLIBS = -lcurses -ledit -lutil -lz + +bsd: $(ANY_BINS) $(BSD_BINS) .gitignore -all: $(BINS) .gitignore +linux: $(ANY_BINS) $(LIN_BINS) .gitignore -portable: $(PINS) .gitignore +any: $(ANY_BINS) .gitignore atch: dtch ln -f dtch atch @@ -18,15 +23,15 @@ setuid: bri chmod u+s bri clean: - rm -f $(BINS) + rm -f $(ALL_BINS) link: - ln -s -f $(BINS:%=$(PWD)/%) ~/.bin + ln -s -f $(ALL_BINS:%=$(PWD)/%) ~/.bin unlink: - rm -f $(BINS:%=~/.bin/%) + rm -f $(ALL_BINS:%=~/.bin/%) .gitignore: Makefile - echo $(BINS) | tr ' ' '\n' > .gitignore + echo $(ALL_BINS) | tr ' ' '\n' > .gitignore -.PHONY: all portable setuid clean link unlink +.PHONY: bsd linux any setuid clean link unlink -- cgit 1.4.1 /day18.rs?id=221aee4693c8af3422c0881bcb2770010a403c58&follow=1'>diff homepage
path: root/2016/src/bin/day18.rs (unfollow)
Commit message (Collapse)Author
2017-12-15Day 12, part 2June McEnroe
2017-12-15Day 12June McEnroe
2017-12-15Day 11, part 2June McEnroe
2017-12-15Day 11June McEnroe
https://www.redblobgames.com/grids/hexagons/#coordinates-cube
2017-12-15Day 10, part 2June McEnroe
2017-12-15Day 10June McEnroe
2017-12-14Day 9, part 2June McEnroe
2017-12-14Day 9June McEnroe
I was really sick at the start of the week, okay?
2017-12-09Day 8, part 2June McEnroe
2017-12-09Day 8June McEnroe
2017-12-09Day 7, part 2June McEnroe
I don't even know what this is. Don't look at it.
2017-12-08Day 7June McEnroe
2017-12-06Day 6, part 2June McEnroe
2017-12-06Day 6June McEnroe
2017-12-05Day 5, part 2June McEnroe
2017-12-05Day 5June McEnroe
2017-12-04Day 4, part 2June McEnroe
That ugly sort map though.
2017-12-04Day 4June McEnroe
2017-12-03Day 3, part 2June McEnroe
I am super surprised that worked on the first try.
2017-12-03Day 3, clean upJune McEnroe
2017-12-03Day 3June McEnroe
This is fucking awful and I'm angry.
2017-12-02Day 2, part 2June McEnroe
2017-12-02Day 2June McEnroe
2017-12-01Day 1, part 2June McEnroe
2017-12-01Day 1June McEnroe
2017-11-27Move to 2016 directoryJune McEnroe