os/security/securityanddataprivacytools/securitytools/certapp/test/tcertapp/GNUmakefile
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 # Copyright (c) 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 include ../../GNUmakefile.inc
    16 TARGET=tcertapp
    17 
    18 INC=-I../../api -I../../utils -I.
    19 
    20 SRCS=tcertapp.cpp tcertapp_bad.cpp tcertapp_good.cpp badconfigwriter.cpp goodconfigwriter.cpp
    21 LOADLIBES=../../api/libcertapp-api.a ../../utils/utils.a
    22 
    23 OBJS=$(SRCS:.cpp=.o)
    24 DEPENDFILES=$(SRCS:.cpp=.d)
    25 
    26 
    27 $(TARGET) : $(OBJS)
    28 	$(LINK.C) $^ $(LOADLIBES) -o $@
    29 
    30 
    31 $(TOPTARGETS): % :
    32 	$(MAKE) -C../.. $@
    33 
    34 
    35 .PHONY: clean
    36 clean:
    37 	-rm -f $(OBJS) $(TARGET) $(DEPENDFILES)
    38 
    39 
    40 include $(wildcard $(DEPENDFILES))