PROGRAMS=testai testao testdioe testdio8255 testaisp \
	testg_ptg testg_evc testg_sm testg_buf

all:  $(PROGRAMS)

#CFLAGS=-Wall -Wstrict-prototypes -rdynamic -O2 -I../driver -ldl
CFLAGS=-Wall -Wstrict-prototypes -O2 -I../driver

testao: testao.o
	gcc -o testao -lnidaq $(CFLAGS) testao.o -g

testao.o: testao.c
	gcc -c testao.c -g

testaisp2: testaisp2.o
	gcc -o testaisp2 -lnidaq $(CFLAGS) testaisp2.o -g

testaisp2.o: testaisp2.c
	gcc -c testaisp2.c -g

clean:
	rm -f $(PROGRAMS) *~


