view rvinterf/etm/Makefile @ 186:faa31a47f102

rvinterf/Makefile: build both rvinterf/lowlevel and rvinterf/etm
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 24 Nov 2013 23:18:30 +0000
parents 85222710dc92
children 9f4f331ac24d
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fc-tmsh
INSTBIN=/usr/local/bin

TMSH_OBJS=	etmbasic.o init.o interf.o main.o pktsort.o ttymagic.o usercmd.o

all:	${PROGS}

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

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

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