From 045edac361c6b9624a3fcd551edd23f7f75608ce Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 24 Dec 2009 20:22:19 -0300 Subject: [PATCH] Add a "clean" target to the Makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 90a932f..bdd709b 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,9 @@ $B/%.o: %.d $(if $V,,@echo ' $(DC) $@') $(if $V,,@) $(DC) $(DCFLAGS) $(DC_OBJ_OPT) $(DC_OUTPUT_OPTION) $< +clean: + $(if $V,,@echo ' $(RM) $B') + $(if $V,,@) $(RM) -r $B __dummy := $(shell mkdir -p $B) -- 2.43.0