commit 66babbe78ca2d9c28cf6b94a23c7f05628d31d10
parent 34d1e4944767bd12c26705509d88ddb2fe5c33c6
Author: Jacob R. Edwards <n/a>
Date: Sat, 21 May 2022 19:54:09 -0500
Add clean target to exe.mk, and remove prog.mk
prog.mk doesn't appear to be used, but I accidentally added the
clean target to it instead of exe.mk before.
Diffstat:
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/mk/exe.mk b/mk/exe.mk
@@ -9,4 +9,7 @@ install: ${name}
uninstall:
rm -f ${PREFIX}/bin/${name}
+clean:
+ rm -f ${name} ${obj}
+
.PHONY: install uninstall
diff --git a/mk/prog.mk b/mk/prog.mk
@@ -1,5 +0,0 @@
-${name}: ${obj}
- ${cc} ${ldflags} -o ${name} ${obj} ${lib}
-
-clean:
- rm -f ${name} ${obj}