summaryrefslogtreecommitdiffstats
path: root/utils/atj2137/atjboottool/Makefile
blob: 31c315d4fda5cfc2108c2cc6ef120a9a2f3e43a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 misc.o atj_tables.o
	$(LD) -o $@ $^ $(LDFLAGS)

clean:
	rm -fr *.o

veryclean:
	rm -rf $(BINS)