# Makefile for the Meilhaus me8100 driver test program
# If you are in the directory ./me8100_test_dio where the Makefile 
# and the sources resides, you can use the make command with 
# following parmeters:
# $make 	  generates the executable me8100_test_dio
# $make clean     deletes all files including *.o and *~ 

me8100_test_dio:me8100_test_dio.o
	gcc -o me8100_test_dio me8100_test_dio.o 

me8100_test_dio.o:me8100_test_dio.c ../me8100.h
	gcc -c me8100_test_dio.c -Wall -O

clean:
	rm -f *.o *~