Add support for rlint to optionally check resources during the build.

This commit is contained in:
Jeremy Rand 2018-08-08 23:54:36 -04:00
parent 503671561a
commit bce9f4343d
2 changed files with 10 additions and 0 deletions

View File

@ -43,6 +43,13 @@ CFLAGS+=
# Add any arguments you want passed to the resource compiler to this variable:
REZFLAGS+=
# Uncomment the following line if you have installed rlint as found here:
# https://github.com/ksherlock/rlint/releases
# Assuming that it is in the path that ORCA searches (the Utilities directory is
# probably a good choice), you can just leave the value unchanged. If you have
# put the rlint somewhere weird, you can set this to the correct path
# RLINT_PATH=rlint
# Add any arguments you want passed to the macro generator to this variable:
MACGENFLAGS+=

View File

@ -147,6 +147,9 @@ executeShell: all
%.r: %.rez
$(REZ) $< $(REZFLAGS)
ifneq ($(RLINT_PATH),)
$(ORCA) $(RLINT_PATH) $@
endif
$(OBJS): Makefile