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

CFLAGS:=-Wall

OBJS:=sample_apci1016

all: $(OBJS)

clean:
	-rm $(OBJS)

# Compile the sample apps
sample_apci1016: sample_apci1016.c
	$(CC) $(CFLAGS) -I$(ADDIDATAINC) $< -o $@