OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [include/] [common.mk] - Diff between revs 2 and 31

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 31
Line 77... Line 77...
ifdef MIN_SIZE
ifdef MIN_SIZE
    # optimize for size
    # optimize for size
    OPTIMIZE = -Os
    OPTIMIZE = -Os
else
else
    # optimize for speed
    # optimize for speed
    OPTIMIZE = -O2
    OPTIMIZE = -O3
endif
endif
 
 
 MAP = $(addsuffix .map, $(basename $(TGT)))
 MAP = $(addsuffix .map, $(basename $(TGT)))
 
 
 ASFLAGS = -I../include
 ASFLAGS = -I../include
Line 107... Line 107...
        $(OC) -R .comment -R .note $(TGT)
        $(OC) -R .comment -R .note $(TGT)
 
 
$(OBJ): $(DEP)
$(OBJ): $(DEP)
 
 
mini-libc:
mini-libc:
        $(MAKE) -s -C ../mini-libc
        $(MAKE) -s -C ../mini-libc MIN_SIZE=1
 
 
$(ELF):
$(ELF):
        $(MAKE) -C $(TOOLSPATH)
        $(MAKE) -s -C $(TOOLSPATH)
 
 
$(DIS): $(TGT)
$(DIS): $(TGT)
        $(DS) $(DSFLAGS) $^ > $@
        $(DS) $(DSFLAGS) $^ > $@
 
 
clean:
clean:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.