diff options
author | Todor Tomov <ttomov@mm-sol.com> | 2011-02-03 10:50:48 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-02-07 16:32:44 +0100 |
commit | d4968694e251f603e7c2b91608746cf4c382723a (patch) | |
tree | 6a46bfc59051f7469824108a8819dd08dd75f59e /Makefile | |
parent | 14ddd592a6fcba2ceb751c0d4b0a3b5d46f2a59f (diff) |
Use autotools
Use autoconf and automake for building.
Quick instructions are added in INSTALL.
Application source files are moved to src subdirectory.
Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index a89b79c..0000000 --- a/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -CROSS_COMPILE ?= -KDIR ?= - -KINC := -I$(KDIR)/usr/include -CC := $(CROSS_COMPILE)gcc - -CFLAGS += -O2 -Wall -fpic -I. $(KINC) -OBJS = media.o main.o options.o subdev.o - -all: media-ctl - -media-ctl: $(OBJS) - $(CC) $(CFLAGS) -o media-ctl $(OBJS) - $(CROSS_COMPILE)strip media-ctl -clean: - rm -f $(OBJS) media-ctl - -.PHONY: clean all |