Subversion Repositories HelenOS

Rev

Rev 3386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4153
Line 29... Line 29...
29
 
29
 
30
## Common compiler flags
30
## Common compiler flags
31
#
31
#
32
 
32
 
33
LIBC_PREFIX = ../libc
33
LIBC_PREFIX = ../libc
-
 
34
 
34
## Setup toolchain
35
## Setup toolchain
35
#
36
#
36
 
37
 
37
include $(LIBC_PREFIX)/Makefile.toolchain
38
include $(LIBC_PREFIX)/Makefile.toolchain
38
 
39
 
Line 55... Line 56...
55
clean:
56
clean:
56
	-rm -f libfs.a Makefile.depend
57
	-rm -f libfs.a Makefile.depend
57
	find . -name '*.o' -follow -exec rm \{\} \;
58
	find . -name '*.o' -follow -exec rm \{\} \;
58
 
59
 
59
depend:
60
depend:
60
	-makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null
61
	-makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(SOURCES) > Makefile.depend 2> /dev/null
61
 
62
 
62
libfs.a: depend $(OBJECTS)
63
libfs.a: depend $(OBJECTS)
63
	$(AR) rc libfs.a $(OBJECTS)
64
	$(AR) rc libfs.a $(OBJECTS)
64
 
65
 
65
%.o: %.c
66
%.o: %.c