Subversion Repositories HelenOS

Rev

Rev 3386 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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