summaryrefslogtreecommitdiffstats
path: root/package/boot/rbcfg/src/Makefile
diff options
context:
space:
mode:
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 000000000..62c74b267
--- /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