summaryrefslogtreecommitdiffstats
path: root/rbutil/mktccboot/Makefile
blob: f3c0409b2a843ba0614f12268dc78dd067d5abde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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