comparison loadtools/Makefile @ 575:cef70d53fc5e

loadtools: new -P boot control mechanism implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Feb 2020 20:01:22 +0000
parents b22cc34b6fc9
children 5385aca4d813
comparison
equal deleted inserted replaced
574:aba969153d20 575:cef70d53fc5e
31 31
32 ROMDUMP_OBJS= compalload.o defpath.o flashstubs.o hexdecode.o hwparam.o \ 32 ROMDUMP_OBJS= compalload.o defpath.o flashstubs.o hexdecode.o hwparam.o \
33 labaud.o ltexit.o romdump.o romload.o srecreader.o tpinterf.o \ 33 labaud.o ltexit.o romdump.o romload.o srecreader.o tpinterf.o \
34 tpinterf2.o 34 tpinterf2.o
35 35
36 LIBPWON= ../libpwon/libpwon.a
36 LIBSERIAL= ../libserial/libserial.a 37 LIBSERIAL= ../libserial/libserial.a
37 38
38 all: ${PROGS} 39 all: ${PROGS}
39 40
40 fc-compalram: ${COMPALRAM_OBJS} ${LIBSERIAL} 41 fc-compalram: ${COMPALRAM_OBJS} ${LIBSERIAL}
41 ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} ${LIBSERIAL} 42 ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} ${LIBSERIAL}
42 43
43 fc-iram: ${IRAM_OBJS} ${LIBSERIAL} 44 fc-iram: ${IRAM_OBJS} ${LIBPWON} ${LIBSERIAL}
44 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} ${LIBSERIAL} 45 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} ${LIBPWON} ${LIBSERIAL}
45 46
46 fc-loadtool: ${LOADTOOL_OBJS} ${LIBSERIAL} 47 fc-loadtool: ${LOADTOOL_OBJS} ${LIBPWON} ${LIBSERIAL}
47 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} ${LIBSERIAL} 48 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} ${LIBPWON} ${LIBSERIAL}
48 49
49 fc-xram: ${XRAM_OBJS} ${LIBSERIAL} 50 fc-xram: ${XRAM_OBJS} ${LIBPWON} ${LIBSERIAL}
50 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} ${LIBSERIAL} 51 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} ${LIBPWON} ${LIBSERIAL}
51 52
52 fc-buzplay: ${BUZPLAY_OBJS} ${LIBSERIAL} 53 fc-buzplay: ${BUZPLAY_OBJS} ${LIBPWON} ${LIBSERIAL}
53 ${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} ${LIBSERIAL} 54 ${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} ${LIBPWON} ${LIBSERIAL}
54 55
55 fc-dspromdump: ${ROMDUMP_OBJS} ${LIBSERIAL} 56 fc-dspromdump: ${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL}
56 ${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBSERIAL} 57 ${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL}
57 58
58 install: 59 install:
59 mkdir -p ${INSTBIN} 60 mkdir -p ${INSTBIN}
60 install -c ${PROGS} ${INSTBIN} 61 install -c ${PROGS} ${INSTBIN}
61 mkdir -p ${INSTCONF} 62 mkdir -p ${INSTCONF}