OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [ucos-ii/] [2.91/] [tasks/] [Makefile] - Rev 471

Compare with Previous | Blame | View Log


# User should set TASKS to determine which set to run

ifeq ($(TASKS),)
$(error Must specify TASKS, eg. TASKS=1 when building to choose user task program)
endif


LIB     = tasks.o
OBJS    = tasks$(TASKS).o

all:    $(LIB)

$(LIB): $(OBJS)
        $(LD) -r -o $@ $(OBJS)

# Depends too difficult to deal with here

.depend:        Makefile
                $(CC) -M $(CFLAGS) *.c > $@
sinclude .depend


#.depend:       Makefile $(OBJS:.o=.c)
#               $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
#sinclude .depend

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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