testexecmgmt/ucc/Source/HostExecuteSimple/Makefile
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     1 ##########################################################################
       
     2 #
       
     3 # Makefile for ...
       
     4 #
       
     5 ##########################################################################
       
     6 
       
     7 ##########################################################################
       
     8 #
       
     9 # Definitions
       
    10 #
       
    11 ##########################################################################
       
    12 TARGET=		../../bin/hostexecute
       
    13 INCLUDES= 	-I../include
       
    14 OBJECTS=	CSHostexecute.o		\
       
    15 		CSvcHostexecute.o	\
       
    16 		hostexecute_svc.o	\
       
    17 		hostexecute_svc_stub_impl.o	\
       
    18 		hostexecute_xdr.o
       
    19 
       
    20 
       
    21 
       
    22 LIBS=		-L../../BinInternal -lproc
       
    23 
       
    24 ##########################################################################
       
    25 #
       
    26 # Rules
       
    27 #
       
    28 ##########################################################################
       
    29 $(TARGET):	$(OBJECTS) ../../BinInternal/libproc.a
       
    30 	g++ -gstabs -Wall -o $(TARGET) $(OBJECTS) $(LIBS)
       
    31 
       
    32 %.o:	%.c
       
    33 	gcc -gstabs -Wall $(INCLUDES) -c $< -o $@
       
    34 
       
    35 %.o:	%.cpp
       
    36 	g++ -gstabs -Wall $(INCLUDES) -c $< -o $@
       
    37 
       
    38 clean:
       
    39 	rm -r -f $(TARGET) *.o *~ dyntmp*