ap

An audio player suited to my tastes
Log | Files | Refs | README | LICENSE

commit abae346a159e590eebc1fde860930643e57ded3f
parent 9921b127e5d78c5c9b0eaaf95fa6b08b75d09b8f
Author: Jacob R. Edwards <n/a>
Date:   Fri, 20 May 2022 14:41:46 -0500

Fix library 'clean' target

Diffstat:
Mmk/c.mk | 3---
Mmk/lib.mk | 3+++
Mmk/prog.mk | 3+++
3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/mk/c.mk b/mk/c.mk @@ -5,7 +5,4 @@ all: ${name} ${name}: Makefile ${obj} -clean: - rm -f ${name} ${obj} - .PHONY: all clean diff --git a/mk/lib.mk b/mk/lib.mk @@ -16,5 +16,8 @@ uninstall: rm -f ${PREFIX}/lib/${lib} rm -rf ${PREFIX}/include/${name} +clean: + rm -f ${lib} ${obj} + .PHONY: ${name} install uninstall .SUFFIXES: .a .o diff --git a/mk/prog.mk b/mk/prog.mk @@ -1,2 +1,5 @@ ${name}: ${obj} ${cc} ${ldflags} -o ${name} ${obj} ${lib} + +clean: + rm -f ${name} ${obj}