Add a simple make test command which runs implcheck on library exports.h

This commit is contained in:
James Benton 2016-10-11 22:27:39 +01:00
parent 07fafab7b4
commit 8b95240de4

View File

@ -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