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

# KERNEL_DIR should be set in environment
CPPFLAGS += -I.. -I$(KERNEL_DIR)/include
CFLAGS += -O -Wall

bin_PROGRAMS = me8100_test_int test

.PHONY:	all clean

all:	$(bin_PROGRAMS)

me8100_test_int.o: me8100_test_int.c ../me8100.h
test.o:	test.c ../me8100.h

clean:
	rm -f core *.o *~ $(bin_PROGRAMS)
