- tms-old
- tms
- libTms
- Makefile.bak
This file ( 1kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
################################################################################
# Makefile
# T.Barnaby, BEAM Ltd, 2006-12-07
################################################################################
#
TOP = $(shell pwd)/..
include $(TOP)/Makefile.config
%D.cc %D.h: %.idl
$(BIDL) -m bdata $<
%C.cc %C.h: %.idl
$(BIDL) $<
%S.cc %S.h: %.idl
$(BIDL) $<
%T.cc %T.h: %.idl
$(BIDL) $<
BIDL = $(BINDIR)/bidl
INCLUDES = TmsD.h TmsC.h TmsS.h TmsLib.h SigGen.h TmsEventServerList.h
OBJS = TmsD.o TmsC.o TmsS.o TmsLib.o SigGen.o TmsEventServerList.o
TESTPROGS = test1
DEBUGFLAGS = -O2
# General
all: test libTms.a TmsD.cc TmsC.cc TmsS.cc TmsT.cc
test:
echo "DEST_DIR = ${DEST_DIR}"
echo "PREFIX = ${PREFIX}"
install: all
mkdir -p $(INCDIR)
cp $(INCLUDES) $(INCDIR)
mkdir -p $(LIBDIR)
cp libTms.a $(LIBDIR)
depend:
makedepend $(DFLAGS) *.cpp 2> /dev/null
clean:
rm -f *.o *.a *.so $(TESTPROGS) Tms[DCS].h Tms[DCS].cc
libTms.a: $(OBJS)
rm -f libTms.a
ar cq libTms.a $(OBJS)
test1: test1.o libTms.a
g++ $(LDFLAGS) -o test1 test1.o libTms.a $(LDLIBS)
# DO NOT DELETE