Doesn't need to be static. Added test target
authorDavid Schleef <ds@schleef.org>
Sun, 15 Jul 2001 22:46:37 +0000 (22:46 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 15 Jul 2001 22:46:37 +0000 (22:46 +0000)
testing/Makefile

index dd59caeee102b65898662e63d491841e714be2c4..ccde4d5e495cf7357f17278cb8c289dbb304c6bf 100644 (file)
@@ -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