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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [OpenRISC_SIM_GCC/] [drivers/] [Makefile] - Blame information for rev 584

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 584 jeremybenn
include ../Makefile.inc
2
 
3
INCDIR  = -I../arch
4
CFLAGS  += $(INCDIR)
5
 
6
all: libdrivers.a
7
 
8
libdrivers.a: uart.o
9
        @$(AR) cru $@ $<
10
        @$(RANLIB) $@
11
        @echo Complete $@
12
 
13
%.o: %.c
14
        @echo "    CC $<"
15
        @$(CC) -c $(CFLAGS) $(INCDIRS) -o $@ $<
16
 
17
%.o: %.S
18
        @echo "    CC $<"
19
        @$(CC) -c $(CFLAGS) $(INCDIRS) -o $@ $<
20
 
21
clean:
22
        @rm -f *.a *.o

powered by: WebSVN 2.1.0

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