FreeCalypso > hg > freecalypso-tools
view miscutil/Makefile @ 873:2b5f4736079c
doc/Buzzer-melodies: update for fc-pwt-comp and Tourmaline BUZM
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 29 Mar 2022 07:49:05 +0000 |
parents | d2fccd82a83e |
children | 8ddb16a37273 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= arfcn2ti fc-fr2tch fc-gsm2vm fc-pulse-dtr fc-pulse-rts fc-rgbconv \ fc-serterm fc-tch2fr fc-vm2hex imei-luhn make-imeisv mokosrec2bin \ srec-regions ti2arfcn SCRIPTS=c139explore pirexplore INSTALL_PREFIX= /opt/freecalypso INSTBIN=${INSTALL_PREFIX}/bin all: ${PROGS} FR2TCH_OBJS= fc-fr2tch.o gsm0610.o GSM2VM_OBJS= fc-gsm2vm.o gsm0610.o TCH2FR_OBJS= fc-tch2fr.o gsm0610.o SERTERM_OBJS= fc-serterm.o ttypassthru.o ../libserial/libserial.a arfcn2ti: arfcn2ti.c ${CC} ${CFLAGS} -o $@ $@.c fc-fr2tch: ${FR2TCH_OBJS} ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS} fc-gsm2vm: ${GSM2VM_OBJS} ${CC} ${CFLAGS} -o $@ ${GSM2VM_OBJS} fc-pulse-dtr: fc-pulse-dtr.c ${CC} ${CFLAGS} -o $@ $@.c fc-pulse-rts: fc-pulse-rts.c ${CC} ${CFLAGS} -o $@ $@.c fc-rgbconv: fc-rgbconv.c ${CC} ${CFLAGS} -o $@ $@.c fc-serterm: ${SERTERM_OBJS} ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS} ttypassthru.o: ../loadtools/ttypassthru.c ${CC} ${CFLAGS} -c -o $@ $< fc-tch2fr: ${TCH2FR_OBJS} ${CC} ${CFLAGS} -o $@ ${TCH2FR_OBJS} fc-vm2hex: fc-vm2hex.c ${CC} ${CFLAGS} -o $@ $@.c imei-luhn: imei-luhn.c ${CC} ${CFLAGS} -o $@ $@.c make-imeisv: make-imeisv.c ${CC} ${CFLAGS} -o $@ $@.c mokosrec2bin: mokosrec2bin.c ${CC} ${CFLAGS} -o $@ $@.c srec-regions: srec-regions.c ${CC} ${CFLAGS} -o $@ $@.c ti2arfcn: ti2arfcn.c ${CC} ${CFLAGS} -o $@ $@.c install: mkdir -p ${INSTBIN} install -c ${PROGS} ${SCRIPTS} ${INSTBIN} clean: rm -f ${PROGS} *.o *errs *.out