Subversion Repositories HelenOS

Rev

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

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