Rev 89 | Blame | Compare with Previous | Last modification | View Log | RSS feed
# $Id$
# Standard directories and files
SRC1=${.CURDIR}/templ
SPEC=${BASE_DIR}/src/lib/tdf/def_4_1.db
# Standard variables
WARNS?= 2
TCCOPTS= -Yansi -Xs
CCOPTS= ${TCCOPTS} -I${BASE_DIR}/${INCLUDE}
LIBS=
# Dependencies and construction rules
PROG= tnc
OBJS= alignment.o analyser.o bitstream.o check.o de_capsule.o\
de_unit.o decode.o enc_cap.o encode.o eval.o fetch.o file.o\
help.o high.o main.o node.o read.o read_cap.o shape.o table.o\
tdf.o utility.o write.o
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
$(PROG): $(OBJS)
$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
clean:
rm -f $(OBJS)
rm -f $(PROG)
install: $(PROG)
mkdir -p $(INSTALL_BINDIR)
install $(PROG) $(INSTALL_BINDIR)/$(PROG)
depend:
mkdep $(CFLAGS) *.c
#MAKE_TDF=make_tdf
#
#auto : ${SRC}/tdf.o ${SRC}/tdf.h ${SRC}/check_exp.h
#
#${SRC}/tdf.o : ${SPEC} ${SRC1}/tdf.o
# @${REMOVE} ${SRC}/tdf.o
# ${MAKE_TDF} ${SPEC} ${SRC1}/tdf.o ${SRC}/tdf.o
#
#${SRC}/tdf.h : ${SPEC} ${SRC1}/tdf.h
# @${REMOVE} ${SRC}/tdf.h
# ${MAKE_TDF} ${SPEC} ${SRC1}/tdf.h ${SRC}/tdf.h
#
#${SRC}/check_exp.h : ${SPEC} ${SRC1}/check_exp.h
# @${REMOVE} ${SRC}/check_exp.h
# ${MAKE_TDF} ${SPEC} ${SRC1}/check_exp.h ${SRC}/check_exp.h
#
#auto_clobber :
# ${REMOVE} ${SRC}/tdf.c ${SRC}/tdf.h ${SRC}/check_exp.h
#.include "../Makefile.inc"
include ../../../defs.mk