view rvinterf/tmsh/Makefile @ 308:3c5a17928fda

DAR: starting to clean and compile .c files
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 16 Mar 2014 20:46:10 +0000
parents b5b54feb111a
children 40b8557b9d04
line wrap: on
line source

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

TMSH_OBJS=	abb.o etmbasic.o ffs2.o ffs2resp.o ffs2wr.o init.o interf.o \
		launchrvif.o main.o misc.o pktsort.o tmcore.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}