Tools makefile: remove unrelated clean commands
This commit is contained in:
parent
3933fd30df
commit
223039d802
|
@ -3,27 +3,6 @@ all: tunslip6
|
||||||
CFLAGS += -Wall -Werror
|
CFLAGS += -Wall -Werror
|
||||||
|
|
||||||
tunslip6: tools-utils.c tunslip6.c
|
tunslip6: tools-utils.c tunslip6.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o tunslip6
|
rm -f *.o tunslip6
|
||||||
|
|
||||||
gitclean:
|
|
||||||
@git clean -d -x -n ..
|
|
||||||
@echo "Enter yes to delete these files";
|
|
||||||
@read response;if [[ "$$response" = "yes" ]]; then git clean -d -f -x ..;fi;
|
|
||||||
|
|
||||||
distclean: cleanobj cleanfiles cleantargets cleandone
|
|
||||||
cleanobj:
|
|
||||||
${info Removing obj_* directories...}
|
|
||||||
@find ../examples/ -name "obj_*" -print -exec rm -R '{}' +
|
|
||||||
cleanfiles:
|
|
||||||
${info Removing .map, .co, .ce, contiki*.a files...}
|
|
||||||
@find ../examples -name "*.map" -print -delete
|
|
||||||
@find ../examples -name "*.co" -print -delete
|
|
||||||
@find ../examples -name "*.ce" -print -delete
|
|
||||||
@find ../examples -name "contiki-*.a" -delete
|
|
||||||
cleantargets:
|
|
||||||
${info Removing .TARGET builds...}
|
|
||||||
@rm -f -v ${addprefix ../examples/*/*., ${shell ls ../arch/platform/}}
|
|
||||||
@rm -f -v ${addprefix ../examples/*/*/*., ${shell ls ../arch/platform/}}
|
|
||||||
cleandone:
|
|
||||||
@echo ${info All done!}
|
|
||||||
|
|
Loading…
Reference in New Issue