From cc94ad678025047c8f3ed1044a38120fd6e40502 Mon Sep 17 00:00:00 2001 From: randomuser Date: Sat, 25 Jun 2022 23:37:39 -0500 Subject: [PATCH] update makefile --- .gitignore | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 13019a4..f536d82 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ c/boid c/a.out c/anaconda c/simplestatus +c/colors diff --git a/Makefile b/Makefile index c3860dc..c4b1696 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ man: # this did not work on my computer, but might be needed on other installations mkdir -p /usr/local/man/man1 cp -f man/* /usr/local/man/man1 + sh: mkdir -p $(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/anaconda.c -o c/anaconda -lm -lX11 cc c/simplestatus.c -o c/simplestatus + cc c/colors.c -o c/colors c: cp -f c/scream $(DESTDIR)$(PREFIX)/bin @@ -37,6 +39,7 @@ c: cp -f c/boid $(DESTDIR)$(PREFIX)/bin cp -f c/anaconda $(DESTDIR)$(PREFIX)/bin cp -f c/simplestatus $(DESTDIR)$(PREFIX)/bin + cp -f c/colors $(DESTDIR)$(PREFIX)/bin clean: rm c/scream