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

Subversion Repositories openfire2

[/] [openfire2/] [trunk/] [sw/] [lib/] [Makefile] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 toni32
PRJ  = io
2
SRCS = __errno.c inbyte.c outbyte.c havebyte.c uart1_printchar.c uart1_printline.c uart1_readchar.c \
3
       uart1_readline.c gethexstring.c puthexstring.c
4
OBJS = $(SRCS:.c=.o)
5 3 toni32
 
6 4 toni32
lib$(PRJ): $(OBJS)
7
        --rm lib$(PRJ).a
8
        mb-ar q lib$(PRJ).a $(OBJS)
9
 
10
$(OBJS): $(SRCS)
11
        mb-gcc -O2 -B. -mno-xl-soft-mul -c -Wa,-ahlms=$(@:.o=.lst) -o $@ $(@:.o=.c)
12
 
13 3 toni32
clean:
14
        -rm *.o
15
        -rm *.out
16
        -rm *.bin
17
        -rm *.v
18
        -rm *.map
19
        -rm *.lst
20
        -rm *.bak
21
        -rm *.srec
22
        -rm *.prom
23
        -rm *.rom
24 4 toni32
        -rm *.a

powered by: WebSVN 2.1.0

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