rockbox/utils/atj2137/atjboottool/Makefile
Amaury Pouly ea679de837 atjboottool: put afi and fw code in its own files
Change-Id: I16347ebee0f82d5fdf32f5aa8f955c07fe148eba
2017-09-29 18:22:30 +02:00

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)