From f2ff2bfef299e3ebddeb4962aef50d3c3012edb6 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 19 May 2010 11:59:00 +0200 Subject: Initial import Signed-off-by: Laurent Pinchart --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5c9cc68 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +CROSS_COMPILE ?= + +CC := $(CROSS_COMPILE)gcc +CFLAGS := -O2 -W -Wall +LDFLAGS := + +%.o : %.c + $(CC) $(CFLAGS) -c -o $@ $< + +all: yavta + +yavta: yavta.o + $(CC) $(LDFLAGS) -o $@ $^ + +clean: + -rm -f *.o + -rm -f yavta + -- cgit v1.2.3