2015-05-08 08:48:41 +00:00
|
|
|
all: tunslip
|
2011-08-05 16:14:18 +00:00
|
|
|
|
2015-08-20 09:40:22 +00:00
|
|
|
tunslip6: tools-utils.c tunslip6.c
|
|
|
|
|
2011-08-05 16:14:18 +00:00
|
|
|
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...}
|
2017-06-28 13:57:13 +00:00
|
|
|
@rm -f -v ${addprefix ../examples/*/*., ${shell ls ../arch/platform/}}
|
|
|
|
@rm -f -v ${addprefix ../examples/*/*/*., ${shell ls ../arch/platform/}}
|
2011-08-05 16:14:18 +00:00
|
|
|
cleandone:
|
2015-05-08 08:48:41 +00:00
|
|
|
@echo ${info All done!}
|