FreeCalypso > hg > fc-am-toolkit
view bootutil/Makefile @ 30:2d60f9a3032b default tip
LICENSE: public domain, copied from freecalypso-tools
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 24 Jun 2023 04:24:38 +0000 |
parents | 6b0d533046e5 |
children |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= c139-analyze-boot c139-patch-dmagic c155-analyze-boot C139ANB_OBJS= c11x_lockable.o c11x_nolock.o c139_lockable.o c139_main.o \ c139_nolock.o do_match.o fc_patched_boot.o C155ANB_OBJS= c155_boot.o c155_main.o do_match.o INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin all: ${PROGS} c139-analyze-boot: ${C139ANB_OBJS} ${CC} ${CFLAGS} -o $@ ${C139ANB_OBJS} c139-patch-dmagic: c139-patch-dmagic.c ${CC} ${CFLAGS} -o $@ $@.c c155-analyze-boot: ${C155ANB_OBJS} ${CC} ${CFLAGS} -o $@ ${C155ANB_OBJS} c11x_lockable.o: ../bootmatch/c11x_lockable.c ${CC} ${CFLAGS} -c -o $@ $< c11x_nolock.o: ../bootmatch/c11x_nolock.c ${CC} ${CFLAGS} -c -o $@ $< c139_lockable.o: ../bootmatch/c139_lockable.c ${CC} ${CFLAGS} -c -o $@ $< c139_nolock.o: ../bootmatch/c139_nolock.c ${CC} ${CFLAGS} -c -o $@ $< c155_boot.o: ../bootmatch/c155_boot.c ${CC} ${CFLAGS} -c -o $@ $< fc_patched_boot.o: ../bootmatch/fc_patched_boot.c ${CC} ${CFLAGS} -c -o $@ $< install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f *.o ${PROGS}