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

Subversion Repositories openfire2

[/] [openfire2/] [trunk/] [sw/] [lib/] [Makefile] - Diff between revs 4 and 6

Only display areas with differences | Details | Blame | View Log

Rev 4 Rev 6
PRJ  = io
PRJ  = io
SRCS = __errno.c inbyte.c outbyte.c havebyte.c uart1_printchar.c uart1_printline.c uart1_readchar.c \
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
       uart1_readline.c gethexstring.c puthexstring.c
OBJS = $(SRCS:.c=.o)
OBJS = $(SRCS:.c=.o)
lib$(PRJ): $(OBJS)
lib$(PRJ): $(OBJS)
        --rm lib$(PRJ).a
        --rm lib$(PRJ).a
        mb-ar q lib$(PRJ).a $(OBJS)
        mb-ar q lib$(PRJ).a $(OBJS)
$(OBJS): $(SRCS)
$(OBJS): $(SRCS)
        mb-gcc -O2 -B. -mno-xl-soft-mul -c -Wa,-ahlms=$(@:.o=.lst) -o $@ $(@:.o=.c)
        mb-gcc -O2 -B. -mno-xl-soft-mul -c -Wa,-ahlms=$(@:.o=.lst) -o $@ $(@:.o=.c)
clean:
clean:
        -rm *.o
        -rm *.o
        -rm *.out
        -rm *.out
        -rm *.bin
        -rm *.bin
        -rm *.v
        -rm *.v
        -rm *.map
        -rm *.map
        -rm *.lst
        -rm *.lst
        -rm *.bak
        -rm *.bak
        -rm *.srec
        -rm *.srec
        -rm *.prom
        -rm *.prom
        -rm *.rom
        -rm *.rom
        -rm *.a
        -rm *.a
 
 

powered by: WebSVN 2.1.0

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