diff --git a/site_ansto/hardsup/Monitor/Makefile b/site_ansto/hardsup/Monitor/Makefile index f3dc908b..214cbfec 100644 --- a/site_ansto/hardsup/Monitor/Makefile +++ b/site_ansto/hardsup/Monitor/Makefile @@ -9,7 +9,7 @@ TARGETS = Monitor OBJS = Monitor.o params.o utility.o sock.o display.o device.o hware.o ifeq ($(origin simulate_hardware),undefined) -$(info "Simulate Hardware is not defined") +$(info "simulate_hardware is not defined") ifeq ($(wildcard /usr/local/lib/libnidaqmx.so),) OBJECTS = LIBS = @@ -29,13 +29,18 @@ LIBS = nidaqmx LIBFLAGS = $(foreach lib,$(LIBS),-l$(lib)) endif else -$(info "Simulate Hardware is from $(origin simulate_hardware)") +$(info "simulate_hardware is from $(origin simulate_hardware)") $(warning "Counter Hardware will be simulated in this build") CXXFLAGS += -DSIMULATE_HARDWARE=1 endif all: $(TARGETS) +help: + @echo "To make with simulated hardware use either of these:" + @echo " simulate_hardware=1 make" + @echo " make simulate_hardware=1" + rlp: all clean: