comparison bootutil/Makefile @ 12:fe5f7ba7f154

c139-analyze-boot utility put together, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Jun 2023 04:58:26 +0000
parents
children 09c18549921b
comparison
equal deleted inserted replaced
11:2a62a7decd9f 12:fe5f7ba7f154
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= c139-analyze-boot
4
5 C139ANB_OBJS= c11x_lockable.o c11x_nolock.o c139_lockable.o c139_main.o \
6 c139_nolock.o do_match.o fc_patched_boot.o
7
8 all: ${PROGS}
9
10 c139-analyze-boot: ${C139ANB_OBJS}
11 ${CC} ${CFLAGS} -o $@ ${C139ANB_OBJS}
12
13 c11x_lockable.o: ../bootmatch/c11x_lockable.c
14 ${CC} ${CFLAGS} -c -o $@ $<
15
16 c11x_nolock.o: ../bootmatch/c11x_nolock.c
17 ${CC} ${CFLAGS} -c -o $@ $<
18
19 c139_lockable.o: ../bootmatch/c139_lockable.c
20 ${CC} ${CFLAGS} -c -o $@ $<
21
22 c139_nolock.o: ../bootmatch/c139_nolock.c
23 ${CC} ${CFLAGS} -c -o $@ $<
24
25 fc_patched_boot.o: ../bootmatch/fc_patched_boot.c
26 ${CC} ${CFLAGS} -c -o $@ $<
27
28 clean:
29 rm -f *.o ${PROGS}