diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index c3db9d3..0000000 --- a/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -CROSS_COMPILE ?= -ARCH ?= x86 -KERNEL_DIR ?= /usr/src/linux - -CC := $(CROSS_COMPILE)gcc -KERNEL_INCLUDE := -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/arch/$(ARCH)/include -CFLAGS := -W -Wall -Wno-unused-parameter -g $(KERNEL_INCLUDE) -LDFLAGS := -g - -OBJS := \ - configfs.o \ - events.o \ - main.o \ - stream.o \ - uvc.o \ - v4l2.o \ - v4l2-source.o \ - video-buffers.o \ - video-source.o - -all: uvc-gadget - -uvc-gadget: $(OBJS) - $(CC) $(LDFLAGS) -o $@ $^ - -clean: - rm -f *.o - rm -f uvc-gadget - |