# change that if you want to cross-compile 
#CC=mipsel-linux-gcc

####################################################################
# 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
####################################################################

OBJS:=sample_apci2200


all: $(OBJS)

clean:
	-rm $(OBJS)

# Compile the sample apps

sample_apci2200: sample_apci2200.c
	$(CC) -Wall -I$(ADDIDATAINC) $< -o $@
