dot_testing/Makefile

36 lines
1.0 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:
2021-07-01 22:28:40 -05:00
# this used to be {command} $(DESTDIR)$(PREFIX)/man/man1
# this did not work on my computer, but might be needed in other computers
mkdir -p /usr/local/man/man1
cp -f man/* /usr/local/man/man1
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
cp -f sh/bat $(DESTDIR)$(PREFIX)/bin
cp -f sh/disp $(DESTDIR)$(PREFIX)/bin
cp -f sh/wal $(DESTDIR)$(PREFIX)/bin
cp -f sh/yt $(DESTDIR)$(PREFIX)/bin
cp -f sh/connect $(DESTDIR)$(PREFIX)/bin
cp -f sh/nws $(DESTDIR)$(PREFIX)/bin
2021-07-16 15:45:53 -05:00
cp -f sh/pashmenu $(DESTDIR)$(PREFIX)/bin
2021-06-13 23:34:05 -05:00
cp -f sh/urlhandle $(DESTDIR)$(PREFIX)/bin
2021-06-23 23:02:21 -05:00
cp -f sh/ftphandle $(DESTDIR)$(PREFIX)/bin
2021-06-13 23:34:05 -05:00
cp -f sh/indicate $(DESTDIR)$(PREFIX)/bin
cp -f sh/vol $(DESTDIR)$(PREFIX)/bin
cp -f sh/josm_launch $(DESTDIR)$(PREFIX)/bin
2021-08-01 10:47:04 -05:00
cp -f sh/start $(DESTDIR)$(PREFIX)/bin
2021-02-15 12:02:09 -06:00
mkc:
2021-06-14 00:11:42 -05:00
cc c/scream.c -o c/scream
cc c/timer.c -o c/timer
cc c/boid.c -o c/boid -lm -lX11
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-04-26 10:58:46 -05:00
clean:
2021-06-13 23:34:05 -05:00
rm c/scream