ea679de837
Change-Id: I16347ebee0f82d5fdf32f5aa8f955c07fe148eba
20 lines
281 B
Makefile
20 lines
281 B
Makefile
DEFINES=
|
|
CC=gcc
|
|
LD=gcc
|
|
CFLAGS=-g -std=c99 -W -Wall $(DEFINES)
|
|
LDFLAGS=
|
|
BINS=atjboottool
|
|
|
|
all: $(BINS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
atjboottool: atjboottool.o fwu.o fw.o afi.o misc.o atj_tables.o
|
|
$(LD) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -fr *.o
|
|
|
|
veryclean:
|
|
rm -rf $(BINS)
|