securityanddataprivacytools/securitytools/certapp/test/tcertapp/GNUmakefile
changeset 0 2c201484c85f
child 6 50f2ff6984be
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 # Copyright (c) 2008-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 "Symbian Foundation License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Nokia Corporation - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 #
       
    15 
       
    16 include ../../GNUmakefile.inc
       
    17 TARGET=tcertapp
       
    18 
       
    19 INC=-I../../api -I../../utils -I.
       
    20 
       
    21 SRCS=tcertapp.cpp tcertapp_bad.cpp tcertapp_good.cpp badconfigwriter.cpp goodconfigwriter.cpp
       
    22 LOADLIBES=../../api/libcertapp-api.a ../../utils/utils.a
       
    23 
       
    24 OBJS=$(SRCS:.cpp=.o)
       
    25 DEPENDFILES=$(SRCS:.cpp=.d)
       
    26 
       
    27 
       
    28 $(TARGET) : $(OBJS)
       
    29 	$(LINK.C) $^ $(LOADLIBES) -o $@
       
    30 
       
    31 
       
    32 $(TOPTARGETS): % :
       
    33 	$(MAKE) -C../.. $@
       
    34 
       
    35 
       
    36 .PHONY: clean
       
    37 clean:
       
    38 	-rm -f $(OBJS) $(TARGET) $(DEPENDFILES)
       
    39 
       
    40 
       
    41 include $(wildcard $(DEPENDFILES))