From 8b95240de49536cc47e34bd6399857c79ceb7ac2 Mon Sep 17 00:00:00 2001 From: James Benton Date: Tue, 11 Oct 2016 22:27:39 +0100 Subject: [PATCH] Add a simple make test command which runs implcheck on library exports.h --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 5536b0f3..1add5819 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ ifeq ($(findstring CYGWIN,$(shell uname -s)),CYGWIN) WUT_ROOT := $(shell cygpath -w ${CURDIR}) +RPL_ROOT := $(shell cygpath -w ${SYSTEM_RPL_ROOT}) else WUT_ROOT := $(CURDIR) +RPL_ROOT := $(SYSTEM_RPL_ROOT) endif TARGETS := tools crt rpl @@ -36,4 +38,13 @@ install: $(MAKE) --no-print-directory -C $$dir install; \ done +test: all + @tools/bin/implcheck $(RPL_ROOT)\coreinit.rpl rpl\libcoreinit\exports.h + @tools/bin/implcheck $(RPL_ROOT)\gx2.rpl rpl\libgx2\exports.h + @tools/bin/implcheck $(RPL_ROOT)\nsysnet.rpl rpl\libnsysnet\exports.h + @tools/bin/implcheck $(RPL_ROOT)\proc_ui.rpl rpl\libproc_ui\exports.h + @tools/bin/implcheck $(RPL_ROOT)\sndcore2.rpl rpl\libsndcore2\exports.h + @tools/bin/implcheck $(RPL_ROOT)\sysapp.rpl rpl\libsysapp\exports.h + @tools/bin/implcheck $(RPL_ROOT)\vpad.rpl rpl\libvpad\exports.h + .PHONY: all clean install