rockbox/utils/rknanoutils/rkboottool/Makefile

21 lines
248 B
Makefile
Raw Normal View History

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)