view rvinterf/tmsh/Makefile @ 37:f24b31082605

c139explore: turn on ARMIO module clock, needed to exercise the buzzer
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 00:02:27 +0000
parents ea061975c883
children 642da3373772
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROGS=	fc-tmsh
INSTBIN=/usr/local/bin
LIBS=	../libasync/libasync.a

TMSH_OBJS=	abb.o audiocmd.o etmbasic.o ffs2.o ffs2resp.o ffs2wr.o init.o \
		main.o misc.o omr.o pktsort.o tmcore.o usercmd.o

all:	${PROGS}

fc-tmsh:	${TMSH_OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${TMSH_OBJS} ${LIBS}

install:	${PROGS}
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out *errs ${PROGS}