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 63... Line 62...
63
clean:
62
clean:
64
	-rm -f libsoftint.a libsoftint.pic.a Makefile.depend
63
	-rm -f libsoftint.a libsoftint.pic.a Makefile.depend
65
	find generic/ \( -name '*.o' -o -name '*.pio' \) -follow -exec rm \{\} \;
64
	find generic/ \( -name '*.o' -o -name '*.pio' \) -follow -exec rm \{\} \;
66
 
65
 
67
depend:
66
depend:
68
	-makedepend -f - -- $(DEFS) $(CFLAGS) -- $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null
67
	-makedepend -f - -- $(DEPEMD_DEFS) $(CFLAGS) -- $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null
69
	-makedepend $(DEFS) $(PIC_CFLAGS) -o.pio -f - $(GENERIC_SOURCES) >> Makefile.depend 2> /dev/null
68
	-makedepend $(DEFS) $(PIC_CFLAGS) -o.pio -f - $(GENERIC_SOURCES) >> Makefile.depend 2> /dev/null
70
 
69
 
71
libsoftint.a: depend $(OBJECTS)
70
libsoftint.a: depend $(OBJECTS)
72
	$(AR) rc $@ $(OBJECTS)
71
	$(AR) rc $@ $(OBJECTS)
73
 
72