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

Subversion Repositories openfire2

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

Compare with Previous | Blame | View Log

PRJ  = io
SRCS = __errno.c inbyte.c outbyte.c havebyte.c uart1_printchar.c uart1_printline.c uart1_readchar.c \
       uart1_readline.c gethexstring.c puthexstring.c
OBJS = $(SRCS:.c=.o)

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

$(OBJS): $(SRCS)
        mb-gcc -O2 -B. -mno-xl-soft-mul -c -Wa,-ahlms=$(@:.o=.lst) -o $@ $(@:.o=.c)

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.