dot_testing/Makefile

37 lines
1.3 KiB
Makefile
Raw Normal View History

2021-02-15 12:02:09 -06:00
all: mkc
install: man sh mkc c
.PHONY: man sh mkc c
2020-12-13 14:10:20 -06:00
man:
mkdir -p $(DESTDIR)$(PREFIX)/man1
2021-06-10 23:10:47 -05:00
cp -f man/* $(DESTDIR)$(PREFIX)/man1
2020-12-13 14:10:20 -06:00
sh:
mkdir -p $(DESTDIR)$(PREFIX)/bin
2020-12-31 18:24:47 -06:00
cp -f scripts/paste $(DESTDIR)$(PREFIX)/bin
cp -f scripts/bat $(DESTDIR)$(PREFIX)/bin
2021-02-15 12:02:09 -06:00
cp -f scripts/disp $(DESTDIR)$(PREFIX)/bin
cp -f scripts/shime $(DESTDIR)$(PREFIX)/bin
2021-06-06 22:07:45 -05:00
cp -f scripts/wal $(DESTDIR)$(PREFIX)/bin
2021-02-15 12:02:09 -06:00
cp -f scripts/yt $(DESTDIR)$(PREFIX)/bin
2021-05-11 11:03:20 -05:00
cp -f scripts/connect $(DESTDIR)$(PREFIX)/bin
cp -f scripts/nws $(DESTDIR)$(PREFIX)/bin
2021-05-10 16:55:41 -05:00
cp -f scripts/urlhandle $(DESTDIR)$(PREFIX)/bin
2021-05-11 21:39:39 -05:00
cp -f scripts/indicate $(DESTDIR)$(PREFIX)/bin
2021-05-11 21:53:13 -05:00
cp -f scripts/vol $(DESTDIR)$(PREFIX)/bin
cp -f scripts/shime $(DESTDIR)$(PREFIX)/bin
cp -f scripts/josm_launch $(DESTDIR)$(PREFIX)/bin
ln -sf $(DESTDIR)$(PREFIX)/bin/shime $(DESTDIR)$(PREFIX)/bin/timer
ln -sf $(DESTDIR)$(PREFIX)/bin/shime $(DESTDIR)$(PREFIX)/bin/alarm
ln -sf $(DESTDIR)$(PREFIX)/bin/shime $(DESTDIR)$(PREFIX)/bin/tomato
ln -sf $(DESTDIR)$(PREFIX)/bin/shime $(DESTDIR)$(PREFIX)/bin/stopwatch
ln -sf $(DESTDIR)$(PREFIX)/bin/shime $(DESTDIR)$(PREFIX)/bin/verbosewatch
2021-02-15 12:02:09 -06:00
mkc:
2020-12-31 18:24:47 -06:00
cc progs/scream.c -o progs/scream
2021-06-10 23:10:47 -05:00
cc progs/timer.c -o progs/timer
2021-02-15 12:02:09 -06:00
c:
2020-12-31 18:24:47 -06:00
cp -f progs/scream $(DESTDIR)$(PREFIX)/bin
2021-06-10 23:10:47 -05:00
cp -f progs/timer $(DESTDIR)$(PREFIX)/bin
2021-04-26 10:58:46 -05:00
clean:
rm progs/scream