diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-06-07 14:49:14 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-06-07 14:49:14 +0200 |
commit | c4911de1a086db288561f2875b5108bf79b2e23d (patch) | |
tree | 2af1449f21676914e270dc87bc9348619cb8bd7c /utils/rknanoutils/rkboottool/Makefile | |
parent | 71f3255a0e73b6999580a8743c05731f7742bc14 (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/Makefile | 20 |
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) |