makefiles-garage/imgtools/imglib/parameterfileprocessor/Makefile
changeset 0 37428ad74fc2
equal deleted inserted replaced
-1:000000000000 0:37428ad74fc2
       
     1 # Copyright (c) 2009 Symbian Foundation Ltd
       
     2 # This component and the accompanying materials are made available
       
     3 # under the terms of the License "Eclipse Public License v1.0"
       
     4 # which accompanies this distribution, and is available
       
     5 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     6 #
       
     7 # Initial Contributors:
       
     8 # Symbian Foundation Ltd - initial contribution.
       
     9 # Mike Kinghan, mikek@symbian.org
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 # This is a Linux makefile for the parameterfileprocessor library. 
       
    15 
       
    16 
       
    17 ifdef EPOCROOT
       
    18 include $(EPOCROOT)/build/makefiles-garage/global-make-env.mk
       
    19 else
       
    20 $(error EPOCROOT must be defined as the parent directory of your epoc32 tree)
       
    21 endif
       
    22 
       
    23 cpp_inc_paths = -I ../inc -I include
       
    24 
       
    25 lib = libparameterfileprocessor.a
       
    26 
       
    27 CPPFLAGS = $(cpp_inc_paths) $(global_cpp_flags) 
       
    28 
       
    29 srcs = source/parameterfileprocessor.cpp
       
    30 
       
    31 all: $(lib)
       
    32 
       
    33 .PHONY: all clean
       
    34 
       
    35 bases = $(basename $(srcs))
       
    36 
       
    37 objs = $(addsuffix .o,$(bases))
       
    38 
       
    39 $(lib): $(objs)
       
    40 	ar r $@ $(objs)
       
    41 
       
    42 clean:
       
    43 	rm -f $(objs) $(lib)
       
    44