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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ucos-ii/] [2.91/] [tasks/] [Makefile] - Blame information for rev 471

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 471 julius
 
2
# User should set TASKS to determine which set to run
3
 
4
ifeq ($(TASKS),)
5
$(error Must specify TASKS, eg. TASKS=1 when building to choose user task program)
6
endif
7
 
8
 
9
LIB     = tasks.o
10
OBJS    = tasks$(TASKS).o
11
 
12
all:    $(LIB)
13
 
14
$(LIB): $(OBJS)
15
        $(LD) -r -o $@ $(OBJS)
16
 
17
# Depends too difficult to deal with here
18
 
19
.depend:        Makefile
20
                $(CC) -M $(CFLAGS) *.c > $@
21
sinclude .depend
22
 
23
 
24
#.depend:       Makefile $(OBJS:.o=.c)
25
#               $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
26
#sinclude .depend

powered by: WebSVN 2.1.0

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