####################################################################
# relative path of the addidata include directory
# IF YOU ARE BUILDING THIS DRIVER OUTSIDE THE KERNEL SOURCE
# PLEASE ADAPT THIS VARIABLE TO YOUR LOCAL INSTALLATION 
ifeq ($(ADDIDATAINC),)
ADDIDATAINC:=$(shell pwd)/../../../../include/linux/addidata
endif
####################################################################

# change that if you want to cross-compile 
CC:=$(CROSS)gcc

CFLAGS:=-Wall

OBJS:= sample_apci1564
		
all: $(OBJS)

clean:
	-rm $(OBJS)

# Compile the sample
sample_apci1564: sample_apci1564.c 
	$(CC) $(CFLAGS) -I$(ADDIDATAINC) $^ -o $@
