From bce9f4343da25c43efb6868ae4d70a25ebc5bbc3 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Wed, 8 Aug 2018 23:54:36 -0400 Subject: [PATCH] Add support for rlint to optionally check resources during the build. --- Makefile | 7 +++++++ make/tail.mk | 3 +++ 2 files changed, 10 insertions(+) diff --git a/Makefile b/Makefile index ca395ae..4c8a34b 100644 --- a/Makefile +++ b/Makefile @@ -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+= diff --git a/make/tail.mk b/make/tail.mk index c7be210..1d650e5 100644 --- a/make/tail.mk +++ b/make/tail.mk @@ -147,6 +147,9 @@ executeShell: all %.r: %.rez $(REZ) $< $(REZFLAGS) +ifneq ($(RLINT_PATH),) + $(ORCA) $(RLINT_PATH) $@ +endif $(OBJS): Makefile