821efc46ec
Change-Id: Ie857b82e25de235c8549defab7e75995efefb3f6
20 lines
264 B
Makefile
20 lines
264 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 misc.o atj_tables.o
|
|
$(LD) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -fr *.o
|
|
|
|
veryclean:
|
|
rm -rf $(BINS)
|