FreeCalypso > hg > fc-am-toolkit
comparison bootutil/Makefile @ 14:09c18549921b
add install of bootutil
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 10 Jun 2023 05:09:38 +0000 |
parents | fe5f7ba7f154 |
children | 36e65605d16a |
comparison
equal
deleted
inserted
replaced
13:f232fb350e1c | 14:09c18549921b |
---|---|
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= c139-analyze-boot | 3 PROGS= c139-analyze-boot |
4 | 4 |
5 C139ANB_OBJS= c11x_lockable.o c11x_nolock.o c139_lockable.o c139_main.o \ | 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 | 6 c139_nolock.o do_match.o fc_patched_boot.o |
7 | |
8 INSTALL_PREFIX= /opt/freecalypso | |
9 | |
10 INSTBIN=${INSTALL_PREFIX}/bin | |
7 | 11 |
8 all: ${PROGS} | 12 all: ${PROGS} |
9 | 13 |
10 c139-analyze-boot: ${C139ANB_OBJS} | 14 c139-analyze-boot: ${C139ANB_OBJS} |
11 ${CC} ${CFLAGS} -o $@ ${C139ANB_OBJS} | 15 ${CC} ${CFLAGS} -o $@ ${C139ANB_OBJS} |
23 ${CC} ${CFLAGS} -c -o $@ $< | 27 ${CC} ${CFLAGS} -c -o $@ $< |
24 | 28 |
25 fc_patched_boot.o: ../bootmatch/fc_patched_boot.c | 29 fc_patched_boot.o: ../bootmatch/fc_patched_boot.c |
26 ${CC} ${CFLAGS} -c -o $@ $< | 30 ${CC} ${CFLAGS} -c -o $@ $< |
27 | 31 |
32 install: | |
33 mkdir -p ${INSTBIN} | |
34 install -c ${PROGS} ${INSTBIN} | |
35 | |
28 clean: | 36 clean: |
29 rm -f *.o ${PROGS} | 37 rm -f *.o ${PROGS} |