makefiles-garage/bintools/elftools/Makefile
author mikek
Fri, 08 Jan 2010 16:16:51 +0000
changeset 1 820b22e13ff1
parent 0 37428ad74fc2
permissions -rw-r--r--
Commit further implemented Linux makefiles

# 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 elftools components.

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

subdirs = elfdump elftran getexports genstubs

prereqs =

.PHONY: all clean $(prereqs)

all: $(prereqs)
	for file in $(subdirs); do $(MAKE) -C $$file; done

$(prereqs) : $(global_prereqs)
	$(MAKE) -C $(EPOCROOT)/build $@ 

clean:
	for file in $(subdirs); do $(MAKE) -C $$file clean; done