summaryrefslogtreecommitdiffstats
path: root/rbutil/mktccboot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/mktccboot/Makefile')
-rw-r--r--rbutil/mktccboot/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/rbutil/mktccboot/Makefile b/rbutil/mktccboot/Makefile
new file mode 100644
index 0000000000..f3c0409b2a
--- /dev/null
+++ b/rbutil/mktccboot/Makefile
@@ -0,0 +1,21 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
+TOOLSDIR=../../tools
+CFLAGS := -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR)
+
+all: mktccboot
+
+telechips.o: $(TOOLSDIR)/telechips.c $(TOOLSDIR)/telechips.h
+ $(SILENT)$(CC) $(CFLAGS) $(TOOLSDIR)/telechips.c -c -o $@
+
+mktccboot: mktccboot.c telechips.o
+ $(SILENT)$(CC) $(CFLAGS) $+ -o $@
+
+clean:
+ rm -f telechips.o mktccboot