2021-02-15 12:02:09 -06:00
|
|
|
all: mkc
|
2022-06-25 23:45:59 -05:00
|
|
|
install: man sh c all
|
2021-02-15 12:02:09 -06:00
|
|
|
.PHONY: man sh mkc c
|
|
|
|
|
2020-12-13 14:10:20 -06:00
|
|
|
man:
|
2021-07-01 22:28:40 -05:00
|
|
|
# this used to be {command} $(DESTDIR)$(PREFIX)/man/man1
|
2022-01-07 02:30:04 -06:00
|
|
|
# this did not work on my computer, but might be needed on other installations
|
2021-06-20 10:46:29 -05:00
|
|
|
mkdir -p /usr/local/man/man1
|
|
|
|
cp -f man/* /usr/local/man/man1
|
2022-06-25 23:37:39 -05:00
|
|
|
|
2020-12-13 14:10:20 -06:00
|
|
|
sh:
|
|
|
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
2021-06-13 23:34:05 -05:00
|
|
|
cp -f sh/paste $(DESTDIR)$(PREFIX)/bin
|
2022-07-13 00:01:08 -05:00
|
|
|
cp -f sh/trss $(DESTDIR)$(PREFIX)/bin
|
2021-06-13 23:34:05 -05:00
|
|
|
cp -f sh/disp $(DESTDIR)$(PREFIX)/bin
|
2022-02-22 12:38:53 -06:00
|
|
|
cp -f sh/wallpaper $(DESTDIR)$(PREFIX)/bin
|
2021-06-13 23:34:05 -05:00
|
|
|
cp -f sh/yt $(DESTDIR)$(PREFIX)/bin
|
|
|
|
cp -f sh/connect $(DESTDIR)$(PREFIX)/bin
|
|
|
|
cp -f sh/nws $(DESTDIR)$(PREFIX)/bin
|
|
|
|
cp -f sh/vol $(DESTDIR)$(PREFIX)/bin
|
2022-02-05 18:50:00 -06:00
|
|
|
cp -f sh/proxtest $(DESTDIR)$(PREFIX)/bin
|
2022-02-22 12:37:36 -06:00
|
|
|
cp -f sh/pco $(DESTDIR)$(PREFIX)/bin
|
2022-03-22 22:17:27 -05:00
|
|
|
cp -f sh/git-survey $(DESTDIR)$(PREFIX)/bin
|
2022-06-13 16:39:17 -05:00
|
|
|
cp -f sh/vim-swap-handler $(DESTDIR)$(PREFIX)/bin
|
2022-06-18 15:28:59 -05:00
|
|
|
cp -f sh/status $(DESTDIR)$(PREFIX)/bin
|
2022-07-04 02:00:59 -05:00
|
|
|
cp -f sh/statusbar $(DESTDIR)$(PREFIX)/bin
|
2022-06-25 23:30:58 -05:00
|
|
|
cp -f sh/cfg $(DESTDIR)$(PREFIX)/bin
|
2022-06-26 18:59:05 -05:00
|
|
|
cp -f sh/fire $(DESTDIR)$(PREFIX)/bin
|
2022-06-26 19:55:51 -05:00
|
|
|
cp -f sh/pash-dmenu $(DESTDIR)$(PREFIX)/bin
|
2022-06-26 20:24:41 -05:00
|
|
|
cp -f sh/pash-dmenu-backend $(DESTDIR)$(PREFIX)/bin
|
2022-07-05 14:08:31 -05:00
|
|
|
cp -f sh/tmenu $(DESTDIR)$(PREFIX)/bin
|
|
|
|
cp -f sh/tmenu-backend $(DESTDIR)$(PREFIX)/bin
|
|
|
|
cp -f sh/tmenu_run $(DESTDIR)$(PREFIX)/bin
|
2022-07-05 15:43:21 -05:00
|
|
|
cp -f sh/ss $(DESTDIR)$(PREFIX)/bin
|
2022-07-06 00:12:20 -05:00
|
|
|
cp -f sh/net $(DESTDIR)$(PREFIX)/bin
|
2022-07-07 22:34:55 -05:00
|
|
|
cp -f sh/bspwm-toggle-gaps $(DESTDIR)$(PREFIX)/bin
|
2021-06-06 11:29:48 -05:00
|
|
|
|
2022-07-13 00:02:38 -05:00
|
|
|
check:
|
|
|
|
shellcheck sh/*
|
|
|
|
|
2022-07-04 02:00:59 -05:00
|
|
|
mkc: c/scream c/timer c/boid c/anaconda c/colors
|
2022-06-25 23:45:59 -05:00
|
|
|
|
|
|
|
c/boid:
|
2021-10-16 16:35:51 -05:00
|
|
|
cc c/boid.c -o c/boid -lm -lX11
|
2022-06-25 23:45:59 -05:00
|
|
|
|
|
|
|
c/anaconda:
|
2021-10-18 18:53:47 -05:00
|
|
|
cc c/anaconda.c -o c/anaconda -lm -lX11
|
2022-02-05 18:50:00 -06:00
|
|
|
|
2021-02-15 12:02:09 -06:00
|
|
|
c:
|
2021-06-13 23:34:05 -05:00
|
|
|
cp -f c/scream $(DESTDIR)$(PREFIX)/bin
|
|
|
|
cp -f c/timer $(DESTDIR)$(PREFIX)/bin
|
2021-10-18 18:54:57 -05:00
|
|
|
cp -f c/boid $(DESTDIR)$(PREFIX)/bin
|
|
|
|
cp -f c/anaconda $(DESTDIR)$(PREFIX)/bin
|
2022-06-25 23:37:39 -05:00
|
|
|
cp -f c/colors $(DESTDIR)$(PREFIX)/bin
|
2022-06-08 00:31:34 -05:00
|
|
|
|
2021-04-26 10:58:46 -05:00
|
|
|
clean:
|
2021-06-13 23:34:05 -05:00
|
|
|
rm c/scream
|
2022-01-07 02:30:04 -06:00
|
|
|
rm c/timer
|
|
|
|
rm c/boid
|
|
|
|
rm c/anaconda
|
|
|
|
rm c/simplestatus
|