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}