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

Subversion Repositories openfire2

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

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

Rev 3 Rev 4
Line 1... Line 1...
all:
PRJ  = io
        mb-gcc -c -mno-xl-soft-mul -c -Wa,-ahlms=uart1io.lst -o uart1io.o uart1io.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
 
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:
clean:
        -rm *.o
        -rm *.o
        -rm *.out
        -rm *.out
        -rm *.bin
        -rm *.bin
Line 10... Line 19...
        -rm *.lst
        -rm *.lst
        -rm *.bak
        -rm *.bak
        -rm *.srec
        -rm *.srec
        -rm *.prom
        -rm *.prom
        -rm *.rom
        -rm *.rom
 
        -rm *.a

powered by: WebSVN 2.1.0

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