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

me8100_test_counter:me8100_test_counter.o
	gcc -o me8100_test_counter me8100_test_counter.o 

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

clean:
	rm -f *.o *~