summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5a5e8f5..4c5d498 100644
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,15 @@ KERNEL_INCLUDE := -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/arch/$(ARCH)/include
CFLAGS := -W -Wall -g $(KERNEL_INCLUDE)
LDFLAGS := -g
+OBJS := \
+ configfs.o \
+ events.o \
+ uvc-gadget.o \
+ v4l2.o
+
all: uvc-gadget
-uvc-gadget: events.o uvc-gadget.o v4l2.o
+uvc-gadget: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
clean: