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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [OpenRISC_SIM_GCC/] [arch/] [Makefile] - Diff between revs 584 and 620

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

Rev 584 Rev 620
Line 1... Line 1...
include ../Makefile.inc
include ../Makefile.inc
 
 
CFLAGS  += -DIC=0 -DDC=0
CFLAGS  += -DIC=0 -DDC=0
 
 
all: support.o int.o reset.o interrupts.o
SRC_C = support.c int.c interrupts.c
 
SRC_S = reset.S
 
 
 
OBJ_C = $(SRC_C:.c=.o)
 
OBJ_S = $(SRC_S:.S=.o)
 
OBJS  = $(OBJ_C) $(OBJ_S)
 
 
 
all: libarch.a
 
 
 
libarch.a: $(OBJS)
 
        @$(AR) cru $@ $(OBJ_C)
 
        @$(RANLIB) $@
 
        @echo Complete $@
 
 
%.o: %.c
%.o: %.c
        @echo "    CC $<"
        @echo "    CC $<"
        @$(CC) -c $(CFLAGS) $(INCDIRS) -o $@ $<
        @$(CC) -c $(CFLAGS) $(INCDIRS) -o $@ $<
 
 
%.o: %.S
%.o: %.S
        @echo "    CC $<"
        @echo "    ASM $<"
        @$(CC) -c $(CFLAGS) $(INCDIRS) -o $@ $<
        @$(CC) -c $(CFLAGS) $(INCDIRS) -o $@ $<
 
 
clean:
clean:
        @rm -f *.a *.o
        @rm -f *.a *.o

powered by: WebSVN 2.1.0

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