rockbox/utils/rknanoutils/rkboottool/Makefile
Amaury Pouly c4911de1a0 Initial commit from rknano utils. This is very preliminary work.
Change-Id: Iddc4b39a4611f12b9eefc3a96d7eeb7229777ebb
2012-06-07 14:49:14 +02:00

20 lines
248 B
Makefile

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)