sbsv2/raptor/util/gccprogram.mk
changeset 13 c327db0664bb
parent 2 39c28ec933dd
equal deleted inserted replaced
12:5e7562f67577 13:c327db0664bb
     1 #
     1 #
     2 # Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 # Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 # All rights reserved.
     3 # All rights reserved.
     4 # This component and the accompanying materials are made available
     4 # This component and the accompanying materials are made available
     5 # under the terms of the License "Eclipse Public License v1.0"
     5 # under the terms of the License "Eclipse Public License v1.0"
     6 # which accompanies this distribution, and is available
     6 # which accompanies this distribution, and is available
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
    60 $(TARGET):: $(BINDIR)/$(TARGET)$(PROGRAMEXT)
    60 $(TARGET):: $(BINDIR)/$(TARGET)$(PROGRAMEXT)
    61 
    61 
    62 $(foreach SOURCEFILE,$(SOURCES),$(c2obj))
    62 $(foreach SOURCEFILE,$(SOURCES),$(c2obj))
    63 
    63 
    64 $(BINDIR)/$(TARGET)$(PROGRAMEXT): $$(OBJECTS)
    64 $(BINDIR)/$(TARGET)$(PROGRAMEXT): $$(OBJECTS)
    65 	gcc $(LDFLAGS) $$^ -o $$@
    65 	gcc  $$^ $(LDFLAGS) -o $$@
    66 	
    66 	
    67 $$(shell mkdir -p $(OUTPUTPATH)/$(TARGET))
    67 $$(shell mkdir -p $(OUTPUTPATH)/$(TARGET))
    68 
    68 
    69 CLEANFILES:=$$(OBJECTS)
    69 CLEANFILES:=$$(OBJECTS)
    70 $(cleanlog)
    70 $(cleanlog)