<p>In pkg/libcoap/Makefile:</p>
<pre style='color:#555'>> +
> +.PHONY: all clean
> +
> +all: patch 
> +  make -C $(PKG_NAME)
> +
> +patch: $(PKG_NAME)/Makefile
> +  
> +$(PKG_NAME)/Makefile: $(PKG_NAME)/.git/config     
> +  cd $(PKG_NAME) && git apply ../patch.txt
> +
> +$(PKG_NAME)/.git/config:
> +  git clone $(PKG_URL) $(PKG_NAME) && cd $(PKG_NAME) && git checkout $(VERSION)
> +
> +clean:
> +  rm -rf $(PKG_NAME)
</pre>
<p>Added your <code>clean</code> suggestion as <code>reset</code> and kept <code>clean</code> as it was in <a href="https://github.com/RIOT-OS/RIOT/commit/dec6511" class="commit-link"><tt>dec6511</tt></a>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/RIOT-OS/RIOT/pull/336/files#r7752121'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/nk6wd41MAuvPJXbQc5p53aq3RkSI3OmcP-E_Pystylr6HKELjGUyoX4XhNsjp7JN.gif' height='1' width='1'></p>