Implement simulated counter hardware and more string literal changes
r3637 | dcl | 2012-07-11 15:08:50 +1000 (Wed, 11 Jul 2012) | 1 line
This commit is contained in:
@@ -8,6 +8,8 @@ LDFLAGS += -g
|
||||
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")
|
||||
ifeq ($(wildcard /usr/local/lib/libnidaqmx.so),)
|
||||
OBJECTS =
|
||||
LIBS =
|
||||
@@ -26,6 +28,11 @@ else
|
||||
LIBS = nidaqmx
|
||||
LIBFLAGS = $(foreach lib,$(LIBS),-l$(lib))
|
||||
endif
|
||||
else
|
||||
$(info "Simulate Hardware is from $(origin simulate_hardware)")
|
||||
$(warning "Counter Hardware will be simulated in this build")
|
||||
CXXFLAGS += -DSIMULATE_HARDWARE=1
|
||||
endif
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user