c4911de1a0
Change-Id: Iddc4b39a4611f12b9eefc3a96d7eeb7229777ebb
20 lines
248 B
Makefile
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)
|