Rev 3846 | Rev 3901 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3846 | Rev 3886 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | NAME = arp |
29 | NAME = arp |
| 30 | 30 | ||
| 31 | ## Setup toolchain |
31 | ## Setup toolchain |
| 32 | # |
32 | # |
| 33 | 33 | ||
| 34 | LIBC_PREFIX = ../../../lib/libc |
34 | LIBC_PREFIX = ../../../../lib/libc |
| 35 | SOFTINT_PREFIX = ../../../lib/softint |
35 | SOFTINT_PREFIX = ../../../../lib/softint |
| 36 | include $(LIBC_PREFIX)/Makefile.toolchain |
36 | include $(LIBC_PREFIX)/Makefile.toolchain |
| 37 | 37 | ||
| 38 | LIBS = $(LIBC_PREFIX)/libc.a |
38 | LIBS = $(LIBC_PREFIX)/libc.a |
| 39 | 39 | ||
| 40 | ## Sources |
40 | ## Sources |
| Line 42... | Line 42... | ||
| 42 | 42 | ||
| 43 | OUTPUT = $(NAME) |
43 | OUTPUT = $(NAME) |
| 44 | SOURCES = \ |
44 | SOURCES = \ |
| 45 | $(NAME)_module.c \ |
45 | $(NAME)_module.c \ |
| 46 | $(NAME).c \ |
46 | $(NAME).c \ |
| 47 | ../char_map.c \ |
47 | ../../module.c \ |
| 48 | ../measured_strings.c \ |
48 | ../../modules.c \ |
| 49 | ../module.c \ |
49 | ../../structures/char_map.c \ |
| 50 | ../modules.c \ |
50 | ../../structures/measured_strings.c \ |
| 51 | ../packet.c |
51 | ../../structures/packet/packet.c |
| 52 | 52 | ||
| 53 | DEFS += -D ARP_BUNDLE=1 -D $(NAME)_message=module_message -D $(NAME)_start_module=module_start -D $(NAME)_print_name=module_print_name |
53 | DEFS += -D ARP_BUNDLE=1 -D $(NAME)_message=module_message -D $(NAME)_start_module=module_start -D $(NAME)_print_name=module_print_name |
| 54 | 54 | ||
| 55 | OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) |
55 | OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) |
| 56 | 56 | ||