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
|
|
|
|
cp -f *.1 $(DESTDIR)$(PREFIX)/man1
|
|
|
|
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
|
|
|
|
cp -f scripts/wall $(DESTDIR)$(PREFIX)/bin
|
|
|
|
cp -f scripts/yt $(DESTDIR)$(PREFIX)/bin
|
|
|
|
mkc:
|
2020-12-31 18:24:47 -06:00
|
|
|
cc progs/scream.c -o progs/scream
|
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-04-26 10:58:46 -05:00
|
|
|
clean:
|
|
|
|
rm progs/scream
|