From 4509ac1b12898d8062d2909931c9499559cfc796 Mon Sep 17 00:00:00 2001 From: randomuser Date: Sat, 25 Jun 2022 23:45:59 -0500 Subject: [PATCH] make makefile not suck --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c4b1696..e624995 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ all: mkc -install: man sh mkc c +install: man sh c all .PHONY: man sh mkc c man: @@ -25,13 +25,13 @@ sh: cp -f sh/status $(DESTDIR)$(PREFIX)/bin cp -f sh/cfg $(DESTDIR)$(PREFIX)/bin -mkc: - cc c/scream.c -o c/scream - cc c/timer.c -o c/timer +mkc: c/scream c/timer c/boid c/anaconda c/simplestatus c/colors + +c/boid: cc c/boid.c -o c/boid -lm -lX11 + +c/anaconda: 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