From c9b062db155382ccd0e7364c9d2524f27c562e7b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 15 Jul 2001 22:46:37 +0000 Subject: [PATCH] Doesn't need to be static. Added test target --- testing/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testing/Makefile b/testing/Makefile index dd59cae..ccde4d5 100644 --- a/testing/Makefile +++ b/testing/Makefile @@ -2,7 +2,7 @@ CFLAGS =-I ../include -I . -O2 -Wall -Wstrict-prototypes -LDFLAGS=-L../lib/ -lcomedi -lm -static +LDFLAGS=-L../lib/ -lcomedi -lm TARG=comedi_test @@ -17,4 +17,8 @@ $(TARG): $(OBJS) clean: -rm -f $(TARG) $(OBJS) +test: $(TARG) + LD_LIBRARY_PATH=../lib COMEDILIB_LOGLEVEL=3 ./comedi_test -f /dev/comedi0 >out 2>&1 + -diff -u results/DAQCard-ai-16xe-50 out >xxx + distclean: clean -- 2.26.2