diff --git a/tests/05-compile-tools/Makefile b/tests/05-compile-tools/Makefile index b5217c7be..80155e601 100644 --- a/tests/05-compile-tools/Makefile +++ b/tests/05-compile-tools/Makefile @@ -25,7 +25,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. -TOOLS=tools sky +TOOLS=tools sky jn516x TOOLSDIR=../../tools TESTLOGS=$(patsubst %,%.testlog, $(TOOLS)) diff --git a/tools/jn516x/Makefile b/tools/jn516x/Makefile index be3caa44b..2c4254a71 100644 --- a/tools/jn516x/Makefile +++ b/tools/jn516x/Makefile @@ -21,5 +21,10 @@ endif all: $(SERIALDUMP) +CFLAGS += -Wall -Werror + $(SERIALDUMP): serialdump.c $(CC) -O2 -o $@ $< + +clean: + rm -f $(SERIALDUMP)