Subversion Repositories HelenOS

Rev

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

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