From c4911de1a086db288561f2875b5108bf79b2e23d Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 7 Jun 2012 14:49:14 +0200 Subject: Initial commit from rknano utils. This is very preliminary work. Change-Id: Iddc4b39a4611f12b9eefc3a96d7eeb7229777ebb --- utils/rknanoutils/rkboottool/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 utils/rknanoutils/rkboottool/Makefile (limited to 'utils/rknanoutils/rkboottool/Makefile') diff --git a/utils/rknanoutils/rkboottool/Makefile b/utils/rknanoutils/rkboottool/Makefile new file mode 100644 index 0000000000..5bfc40416e --- /dev/null +++ b/utils/rknanoutils/rkboottool/Makefile @@ -0,0 +1,20 @@ +DEFINES= +CC=gcc +LD=gcc +CFLAGS=-g -std=c99 -W -Wall $(DEFINES) +LDFLAGS= +BINS=rkboottool + +all: $(BINS) + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +rkboottool: rkboottool.o misc.o + $(LD) -o $@ $^ $(LDFLAGS) + +clean: + rm -fr *.o + +veryclean: + rm -rf $(BINS) -- cgit v1.2.3