equal
deleted
inserted
replaced
|
1 # Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 # All rights reserved. |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of the License "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # |
|
8 # Initial Contributors: |
|
9 # Nokia Corporation - initial contribution. |
|
10 # |
|
11 # Contributors: |
|
12 # |
|
13 # Description: |
|
14 # |
|
15 |
|
16 CXX = g++296 |
|
17 CXXFLAGS = -I $(EPOCROOT)epoc32/include -I ./inc |
|
18 SOURCE = getdirective.cpp |
|
19 BLDDIR = ../build-getdirective |
|
20 OBJECT = $(addprefix $(BLDDIR)/, $(notdir $(SOURCE:.cpp=.o))) |
|
21 TARGET = $(BLDDIR)/getdirective |
|
22 |
|
23 VPATH = ./getexports |
|
24 |
|
25 _dummy := $(shell mkdir -p $(BLDDIR)) |
|
26 |
|
27 all: $(TARGET) |
|
28 |
|
29 $(TARGET): $(OBJECT) |
|
30 $(CXX) $^ -o $@ |
|
31 strip $@ |
|
32 |
|
33 $(OBJECT): $(BLDDIR)/%.o: %.cpp |
|
34 $(CXX) $(CXXFLAGS) -c $< -o $@ |
|
35 |
|
36 clean: |
|
37 rm -f $(OBJECT) $(TARGET) |
|
38 -rmdir $(BLDDIR) |
|
39 |
|
40 .PHONY: all clean |
|
41 |