CC = gcc CFLAGS = -O2 -Wall TARGETS = driver all: $(TARGETS) driver: xilinx_pci.c $(CC) $(CFLAGS) -D__KERNEL__ -DMODULE -c xilinx_pci.c