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

Subversion Repositories openfire2

[/] [openfire2/] [trunk/] [sw/] [freertos/] [Makefile] - Rev 6

Compare with Previous | Blame | View Log

PRJ  = freertos
LIBS = portasm.s
LIB  = croutine.c heap_2.c list.c port.c queue.c tasks.c
OBJS = $(LIB:.c=.o)
OBJSS= $(LIBS:.s=.o)

$(PRJ): $(OBJS) $(OBJSS)
        --rm lib$(PRJ).a
        mb-ar q lib$(PRJ).a $(OBJS) $(OBJSS)

$(OBJS): $(LIB)
        mb-gcc -I . -I ../lib -mno-xl-soft-mul -c -Wa,-ahlms=$(@:.o=.lst) -o $@ $(@:.o=.c)

$(OBJSS): $(LIBS)
        mb-as -ahlms=$(@:.o=.lst) -o $@ $(@:.o=.s)

clean:
        -rm *.o
        -rm *.out
        -rm *.bin
        -rm *.v
        -rm *.map
        -rm *.lst
        -rm *.bak
        -rm *.srec
        -rm *.prom
        -rm *.rom
        -rm *.a

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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