summaryrefslogtreecommitdiff
path: root/package/boot/rbcfg/src/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-10-17 21:53:23 +0000
committerJohn Crispin <john@openwrt.org>2012-10-17 21:53:23 +0000
commit788a5816ad218c8401db3eccf459e8c55df35458 (patch)
tree37896985cb51dc1da5a717761cbf1e6282413bbd /package/boot/rbcfg/src/Makefile
parent7c50aea1ec953a4e70edc02105f7c7358c51ce0c (diff)
downloadmtk-20170518-788a5816ad218c8401db3eccf459e8c55df35458.zip
mtk-20170518-788a5816ad218c8401db3eccf459e8c55df35458.tar.gz
mtk-20170518-788a5816ad218c8401db3eccf459e8c55df35458.tar.bz2
move to boot/ folder
SVN-Revision: 33824
Diffstat (limited to 'package/boot/rbcfg/src/Makefile')
-rw-r--r--package/boot/rbcfg/src/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/boot/rbcfg/src/Makefile b/package/boot/rbcfg/src/Makefile
new file mode 100644
index 0000000..62c74b2
--- /dev/null
+++ b/package/boot/rbcfg/src/Makefile
@@ -0,0 +1,14 @@
+CC = gcc
+CFLAGS = -Wall
+OBJS = main.o cyg_crc32.o
+
+all: rbcfg
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+rbcfg: $(OBJS)
+ $(CC) -o $@ $(OBJS)
+
+clean:
+ rm -f rbcfg *.o