testexecmgmt/ucc/BinInternal/rpcgen/Makefile
author Johnson Ma <johnson.ma@nokia.com>
Mon, 08 Mar 2010 15:04:18 +0800
changeset 0 3da2a79470a7
permissions -rw-r--r--
Initial EPL Contribution

##########################################################################
#
# Makefile for ...
#
##########################################################################

##########################################################################
#
# Definitions
#
##########################################################################
TARGET=		../../../../BuildTools/rpcgen.3gne.linux
CFLAGS=		-g -Wall -DWIN32_TARGET
INCLUDES=	-I..\rpc
OBJECTS=		rpc_clnt.o	\
			rpc_cout.o	\
			rpc_hout.o	\
			rpc_main.o	\
			rpc_pars.o	\
			rpc_scan.o	\
			rpc_svco.o	\
			rpc_util.o	\
			ae_component_rpc.o

LIBS= 		-lpthread

##########################################################################
#
# Rules
#
##########################################################################
$(TARGET):	$(OBJECTS)
	gcc $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)

%.o:	%.c
	gcc $(CFLAGS) $(INCLUDES) -c $< -o $@

%.o:	%.cpp
	g++ $(CFLAGS) $(INCLUDES) -c $< -o $@

clean:
	rm -r -f $(TARGET) *.o *~