URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [OpenRISC_SIM_GCC/] [drivers/] [Makefile] - Rev 615
Go to most recent revision | Compare with Previous | Blame | View Log
include ../Makefile.inc
INCDIR = -I../arch
CFLAGS += $(INCDIR)
all: libdrivers.a
libdrivers.a: uart.o
@$(AR) cru $@ $<
@$(RANLIB) $@
@echo Complete $@
%.o: %.c
@echo " CC $<"
@$(CC) -c $(CFLAGS) $(INCDIRS) -o $@ $<
%.o: %.S
@echo " CC $<"
@$(CC) -c $(CFLAGS) $(INCDIRS) -o $@ $<
clean:
@rm -f *.a *.o
Go to most recent revision | Compare with Previous | Blame | View Log