From d6847d4b0b8d565ac4be9e34c8ec8bc47efe51c0 Mon Sep 17 00:00:00 2001 From: dtb Date: Fri, 16 Sep 2022 10:58:18 -0400 Subject: [PATCH] clean --- Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3f5ca87..e3d2ace 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ cleanprograms: $(RM) bin/calculate $(RM) bin/cut $(RM) bin/echo + $(MAKE) -C echo clean $(RM) bin/eq $(RM) bin/false $(RM) bin/fdivide @@ -27,16 +28,19 @@ cleanprograms: $(RM) bin/nonzero $(RM) bin/pscat $(RM) bin/rot13 + $(MAKE) -C rot13 clean $(RM) bin/simexec $(RM) bin/sleep $(RM) bin/streq $(RM) bin/str + $(MAKE) -C str clean $(RM) bin/substitute $(RM) bin/sysexits $(RM) bin/retval $(RM) bin/rldecode $(RM) bin/rlencode $(RM) bin/roll + $(MAKE) -C roll clean $(RM) bin/tail $(RM) bin/true @@ -69,7 +73,7 @@ calculate: libstr sysexits src/calculate.c echo: bin/echo bin/echo: echo/echo - mv echo/echo bin/echo + cp echo/echo bin/echo echo/echo: echo/Makefile echo/echo.c $(MAKE) -C echo sane @@ -98,7 +102,7 @@ nutshell: libio nutshell.o pscat: bin/pscat bin/pscat: pscat/pscat - mv pscat/pscat bin/pscat + cp pscat/pscat bin/pscat pscat/pscat: sysexits pscat/pscat.c pscat/Makefile $(MAKE) -C pscat sane @@ -112,7 +116,7 @@ retval: libio retval.o roll: bin/roll bin/roll: roll/roll - mv roll/roll bin/roll + cp roll/roll bin/roll roll/roll: sysexits roll/roll.c roll/Makefile $(MAKE) -C roll sane @@ -120,7 +124,7 @@ roll/roll: sysexits roll/roll.c roll/Makefile rot13: bin/rot13 bin/rot13: rot13/rot13 - mv rot13/rot13 bin/rot13 + cp rot13/rot13 bin/rot13 rot13/rot13: sysexits rot13/rot13.c rot13/Makefile $(MAKE) -C rot13 sane @@ -150,7 +154,7 @@ streq: libio streq.o str: bin/str bin/str: str/str - mv str/str bin/str + cp str/str bin/str str/str: sysexits str/str.c str/Makefile $(MAKE) -C str sane