From cb5b6e704e81c37b8e8516ec54901f1bd5d170bc Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Thu, 22 Jun 2006 09:22:41 +1000 Subject: [PATCH] Added incflags target, this is useful for running code checkers like splint. r1024 | ffr | 2006-06-22 09:22:41 +1000 (Thu, 22 Jun 2006) | 2 lines --- site_ansto/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/site_ansto/Makefile b/site_ansto/Makefile index f3200d12..8dfd9920 100644 --- a/site_ansto/Makefile +++ b/site_ansto/Makefile @@ -30,7 +30,8 @@ PSI_LIBS = -L$(HDFROOT)/lib $(NILIB)\ # ANSTO rules and variables CC = gcc -CFLAGS = -g -Ihardsup -I.. -Wno-unused -Wno-comment -Wno-switch -Werror +INCFLAGS = -Ihardsup -I.. +CFLAGS = -g $(INCFLAGS) -Wno-unused -Wno-comment -Wno-switch -Werror HDFROOT=/usr/local SRC = ./../.. @@ -97,6 +98,9 @@ clean: MZOBJ=fsm.o logger.o sugar.o pardef.o ease.o strobj.o oxinst.o \ ipsdriv.o ilmdriv.o itcdriv.o ighdriv.o euro2kdriv.o modbus.o +incflags: + @echo ${INCFLAGS} + cflags: @echo ${CFLAGS}