Rev 4389 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4389 | Rev 4691 | ||
|---|---|---|---|
| Line 31... | Line 31... | ||
| 31 | 31 | ||
| 32 | include ../../../version |
32 | include ../../../version |
| 33 | 33 | ||
| 34 | LIBC_PREFIX = ../../lib/libc |
34 | LIBC_PREFIX = ../../lib/libc |
| 35 | SOFTINT_PREFIX = ../../lib/softint |
35 | SOFTINT_PREFIX = ../../lib/softint |
| - | 36 | LIBBLOCK_PREFIX = ../../lib/libblock |
|
| 36 | 37 | ||
| 37 | include $(LIBC_PREFIX)/Makefile.toolchain |
38 | include $(LIBC_PREFIX)/Makefile.toolchain |
| 38 | include $(LIBC_PREFIX)/Makefile.app |
39 | include $(LIBC_PREFIX)/Makefile.app |
| 39 | 40 | ||
| 40 | CFLAGS += -I../../srv/kbd/include |
41 | CFLAGS += -I../../srv/kbd/include -I$(LIBBLOCK_PREFIX) |
| 41 | 42 | ||
| - | 43 | LIBS += $(LIBBLOCK_PREFIX)/libblock.a $(LIBC_PREFIX)/libc.a |
|
| 42 | DEFS += -DRELEASE=$(RELEASE) |
44 | DEFS += -DRELEASE=$(RELEASE) |
| 43 | 45 | ||
| 44 | PROGRAM = bdsh |
46 | PROGRAM = bdsh |
| 45 | 47 | ||
| 46 | # Any directory that cleaning targets should know about |
48 | # Any directory that cleaning targets should know about |
| Line 49... | Line 51... | ||
| 49 | cmds/ \ |
51 | cmds/ \ |
| 50 | cmds/modules/ \ |
52 | cmds/modules/ \ |
| 51 | cmds/modules/help/ \ |
53 | cmds/modules/help/ \ |
| 52 | cmds/modules/mkdir/ \ |
54 | cmds/modules/mkdir/ \ |
| 53 | cmds/modules/rm/ \ |
55 | cmds/modules/rm/ \ |
| - | 56 | cmds/modules/bdd/ \ |
|
| 54 | cmds/modules/cat/ \ |
57 | cmds/modules/cat/ \ |
| 55 | cmds/modules/touch/ \ |
58 | cmds/modules/touch/ \ |
| 56 | cmds/modules/ls/ \ |
59 | cmds/modules/ls/ \ |
| 57 | cmds/modules/pwd/ \ |
60 | cmds/modules/pwd/ \ |
| 58 | cmds/modules/sleep/ \ |
61 | cmds/modules/sleep/ \ |
| Line 66... | Line 69... | ||
| 66 | 69 | ||
| 67 | SOURCES = \ |
70 | SOURCES = \ |
| 68 | cmds/modules/help/help.c \ |
71 | cmds/modules/help/help.c \ |
| 69 | cmds/modules/mkdir/mkdir.c \ |
72 | cmds/modules/mkdir/mkdir.c \ |
| 70 | cmds/modules/rm/rm.c \ |
73 | cmds/modules/rm/rm.c \ |
| - | 74 | cmds/modules/bdd/bdd.c \ |
|
| 71 | cmds/modules/cat/cat.c \ |
75 | cmds/modules/cat/cat.c \ |
| 72 | cmds/modules/touch/touch.c \ |
76 | cmds/modules/touch/touch.c \ |
| 73 | cmds/modules/ls/ls.c \ |
77 | cmds/modules/ls/ls.c \ |
| 74 | cmds/modules/pwd/pwd.c \ |
78 | cmds/modules/pwd/pwd.c \ |
| 75 | cmds/modules/sleep/sleep.c \ |
79 | cmds/modules/sleep/sleep.c \ |