From: David Schleef Date: Sun, 15 Jul 2001 22:46:37 +0000 (+0000) Subject: Doesn't need to be static. Added test target X-Git-Tag: r0_7_16~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c9b062db155382ccd0e7364c9d2524f27c562e7b;p=comedilib.git Doesn't need to be static. Added test target --- 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