Subversion Repositories HelenOS

Rev

Rev 3568 | Rev 3731 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3568 Rev 3708
Line 89... Line 89...
89
	arch/$(ARCH)/src/entry.s \
89
	arch/$(ARCH)/src/entry.s \
90
	arch/$(ARCH)/src/thread_entry.s
90
	arch/$(ARCH)/src/thread_entry.s
91
 
91
 
92
GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES)))
92
GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES)))
93
ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
93
ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
-
 
94
OBJECTS := $(GENERIC_OBJECTS) $(ARCH_OBJECTS)
94
 
95
 
95
.PHONY: all clean depend kerninc
96
.PHONY: all clean depend kerninc
96
 
97
 
97
all: kerninc libc.a arch/$(ARCH)/_link.ld
98
all: kerninc libc.a arch/$(ARCH)/_link.ld
98
 
99
 
Line 103... Line 104...
103
 
104
 
104
-include Makefile.depend
105
-include Makefile.depend
105
 
106
 
106
clean:
107
clean:
107
	-rm -f include/kernel include/arch include/libarch libc.a arch/$(ARCH)/_link.ld Makefile.depend
108
	-rm -f include/kernel include/arch include/libarch libc.a arch/$(ARCH)/_link.ld Makefile.depend
108
	find generic/ arch/$(ARCH)/ -name '*.o' -follow -exec rm \{\} \;
109
	find generic/ arch/$(ARCH)/ malloc -name '*.o' -follow -exec rm \{\} \;
109
 
110
 
110
depend: kerninc
111
depend: kerninc
111
	-makedepend -f - -- $(DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null
112
	-makedepend -f - -- $(DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null
112
 
113
 
113
libc.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS)
114
libc.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS)