include Makefile.config

all: Makefile.config
	make -C ${LINUX_SOURCE_PATH} SUBDIRS=${PWD}/driver modules
	cd tools && make all

clean:
	rm -f driver/*.o
	cd tools && make clean

install: all
	cd tools && make install

Makefile.config:
	@echo "You must run 'configure' before '${MAKE}'."
	@exit 1
