sbsv2/raptor/util/gccprogram.mk
branchfix
changeset 285 1cdb9a551505
parent 282 99ac65572b14
equal deleted inserted replaced
284:2c24e0d7a5d4 285:1cdb9a551505
     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)