-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (21 loc) · 751 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (21 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all: amlbootsig unamlbootsig amlbootsig-gxl amlbootenc-gxl amlbootimg-gxl amlinfo
CFLAGS = -g
LDFLAGS = -lcrypto
amlbootsig.o unamlbootsig.o amlinfo.o: meson.h aml.h fip.h
amlbootsig-gxl.o amlbootenc-gxl.o amlbootimg-gxl.o: meson.h aml.h
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<
amlbootsig: amlbootsig.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
unamlbootsig: unamlbootsig.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
amlbootsig-gxl: amlbootsig-gxl.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
amlbootenc-gxl: amlbootenc-gxl.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
amlbootimg-gxl: amlbootimg-gxl.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
amlinfo: amlinfo.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
clean:
-rm -f amlbootsig unamlbootsig amlbootsig-gxl amlinfo test *.o