Rev 314 | Rev 331 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 314 | Rev 326 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | synch/semaphore.c \ |
30 | synch/semaphore.c \ |
31 | synch/waitq.c \ |
31 | synch/waitq.c \ |
32 | smp/ipi.c \ |
32 | smp/ipi.c \ |
33 | fb/font-8x16.c |
33 | fb/font-8x16.c |
34 | 34 | ||
- | 35 | # CFLAGS options same for all targets |
|
- | 36 | CFLAGS+=-nostdinc -I../include -Werror-implicit-function-declaration -Wmissing-prototypes -Werror |
|
- | 37 | ||
35 | ifdef DEBUG_SPINLOCK |
38 | ifdef DEBUG_SPINLOCK |
36 | CFLAGS+=-D$(DEBUG_SPINLOCK) |
39 | CFLAGS+=-D$(DEBUG_SPINLOCK) |
37 | endif |
40 | endif |
38 | 41 | ||
39 | ifdef USERSPACE |
42 | ifdef USERSPACE |
Line 57... | Line 60... | ||
57 | find . ../include -name arch -type l -exec rm \{\} \; |
60 | find . ../include -name arch -type l -exec rm \{\} \; |
58 | ln -s ../arch/$(ARCH)/src arch |
61 | ln -s ../arch/$(ARCH)/src arch |
59 | ln -s ../arch/$(ARCH)/include ../include/arch |
62 | ln -s ../arch/$(ARCH)/include ../include/arch |
60 | 63 | ||
61 | depend: |
64 | depend: |
62 | $(CC) $(CPPFLAGS) -M $(arch_sources) $(sources) >Makefile.depend |
65 | $(CC) $(CFLAGS) -M $(arch_sources) $(sources) >Makefile.depend |
63 | 66 | ||
64 | build: kernel.bin boot |
67 | build: kernel.bin boot |
65 | 68 | ||
66 | clean: |
69 | clean: |
67 | find . ../arch/$(ARCH)/src ../test -name '*.o' -exec rm \{\} \; |
70 | find . ../arch/$(ARCH)/src ../test -name '*.o' -exec rm \{\} \; |