Rev 496 | Rev 502 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 496 | Rev 500 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | 67 | ||
68 | all: init |
68 | all: init |
69 | 69 | ||
70 | clean: |
70 | clean: |
71 | -rm -f init init.map _link.ld *.o |
71 | -rm -f init init.map _link.ld *.o |
72 | $(MAKE) -C libc clean |
72 | $(MAKE) -C libc clean ARCH=$(ARCH) |
73 | 73 | ||
74 | libc/libc.a: |
74 | libc/libc.a: |
75 | $(MAKE) -C libc all |
75 | $(MAKE) -C libc all ARCH=$(ARCH) |
76 | 76 | ||
77 | _link.ld: _link.ld.in |
77 | _link.ld: _link.ld.in |
78 | $(CC) $(DEFS) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@ |
78 | $(CC) $(DEFS) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@ |
79 | 79 | ||
80 | init: init.o libc/libc.a _link.ld |
80 | init: init.o libc/libc.a _link.ld |