summaryrefslogtreecommitdiff
path: root/utils/rknanoutils/rkboottool/Makefile
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-06-07 14:49:14 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-06-07 14:49:14 +0200
commitc4911de1a086db288561f2875b5108bf79b2e23d (patch)
tree2af1449f21676914e270dc87bc9348619cb8bd7c /utils/rknanoutils/rkboottool/Makefile
parent71f3255a0e73b6999580a8743c05731f7742bc14 (diff)
Initial commit from rknano utils. This is very preliminary work.
Change-Id: Iddc4b39a4611f12b9eefc3a96d7eeb7229777ebb
Diffstat (limited to 'utils/rknanoutils/rkboottool/Makefile')
-rw-r--r--utils/rknanoutils/rkboottool/Makefile20
1 files changed, 20 insertions, 0 deletions
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)