update makefile

This commit is contained in:
randomuser 2022-06-25 23:37:39 -05:00
parent eb2bbf704a
commit cc94ad6780
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ c/boid
c/a.out c/a.out
c/anaconda c/anaconda
c/simplestatus c/simplestatus
c/colors

View File

@ -7,6 +7,7 @@ man:
# this did not work on my computer, but might be needed on other installations # this did not work on my computer, but might be needed on other installations
mkdir -p /usr/local/man/man1 mkdir -p /usr/local/man/man1
cp -f man/* /usr/local/man/man1 cp -f man/* /usr/local/man/man1
sh: sh:
mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f sh/paste $(DESTDIR)$(PREFIX)/bin cp -f sh/paste $(DESTDIR)$(PREFIX)/bin
@ -30,6 +31,7 @@ mkc:
cc c/boid.c -o c/boid -lm -lX11 cc c/boid.c -o c/boid -lm -lX11
cc c/anaconda.c -o c/anaconda -lm -lX11 cc c/anaconda.c -o c/anaconda -lm -lX11
cc c/simplestatus.c -o c/simplestatus cc c/simplestatus.c -o c/simplestatus
cc c/colors.c -o c/colors
c: c:
cp -f c/scream $(DESTDIR)$(PREFIX)/bin cp -f c/scream $(DESTDIR)$(PREFIX)/bin
@ -37,6 +39,7 @@ c:
cp -f c/boid $(DESTDIR)$(PREFIX)/bin cp -f c/boid $(DESTDIR)$(PREFIX)/bin
cp -f c/anaconda $(DESTDIR)$(PREFIX)/bin cp -f c/anaconda $(DESTDIR)$(PREFIX)/bin
cp -f c/simplestatus $(DESTDIR)$(PREFIX)/bin cp -f c/simplestatus $(DESTDIR)$(PREFIX)/bin
cp -f c/colors $(DESTDIR)$(PREFIX)/bin
clean: clean:
rm c/scream rm c/scream