makefiles-garage/imgtools/imglib/parameterfileprocessor/Makefile
author Mike Kinghan <mikek@symbian.org>
Mon, 16 Nov 2009 10:04:44 +0000
changeset 0 37428ad74fc2
permissions -rw-r--r--
Initial commit.

# Copyright (c) 2009 Symbian Foundation Ltd
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Symbian Foundation Ltd - initial contribution.
# Mike Kinghan, mikek@symbian.org
#
# Contributors:
#
# Description:
# This is a Linux makefile for the parameterfileprocessor library. 


ifdef EPOCROOT
include $(EPOCROOT)/build/makefiles-garage/global-make-env.mk
else
$(error EPOCROOT must be defined as the parent directory of your epoc32 tree)
endif

cpp_inc_paths = -I ../inc -I include

lib = libparameterfileprocessor.a

CPPFLAGS = $(cpp_inc_paths) $(global_cpp_flags) 

srcs = source/parameterfileprocessor.cpp

all: $(lib)

.PHONY: all clean

bases = $(basename $(srcs))

objs = $(addsuffix .o,$(bases))

$(lib): $(objs)
	ar r $@ $(objs)

clean:
	rm -f $(objs) $(lib)