Rev 4155 | Rev 4261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4155 | Rev 4243 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | SOFTINT_PREFIX = $(NET_BASE)../../lib/softint |
33 | SOFTINT_PREFIX = $(NET_BASE)../../lib/softint |
34 | include $(LIBC_PREFIX)/Makefile.toolchain |
34 | include $(LIBC_PREFIX)/Makefile.toolchain |
35 | 35 | ||
36 | CFLAGS += -Iinclude -I../libadt/include |
36 | CFLAGS += -Iinclude -I../libadt/include |
37 | 37 | ||
- | 38 | CHECK_CFLAGS = -fsyntax-only -Wextra -Wno-div-by-zero -Wsystem-headers -Wfloat-equal -Wdeclaration-after-statement -Wundef -Wno-endif-labels -Wshadow -Wlarger-than-1500 -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations -Wpacked -Wpadded -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline -Winvalid-pch -Wlong-long -Wvariadic-macros -Wdisabled-optimization -Wno-pointer-sign |
|
- | 39 | #-Wtraditional |
|
- | 40 | ||
38 | LIBS = $(LIBC_PREFIX)/libc.a |
41 | LIBS = $(LIBC_PREFIX)/libc.a |
39 | 42 | ||
40 | DEFS += $(NET_DEFS) -D $(NAME)_message=module_message -D $(NAME)_start_module=module_start -D $(NAME)_print_name=module_print_name |
43 | DEFS += $(NET_DEFS) -D $(NAME)_message=module_message -D $(NAME)_start_module=module_start -D $(NAME)_print_name=module_print_name |
41 | 44 | ||
42 | OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) |
45 | OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) |
Line 44... | Line 47... | ||
44 | 47 | ||
45 | .PHONY: all clean depend disasm |
48 | .PHONY: all clean depend disasm |
46 | 49 | ||
47 | all: $(OUTPUT) $(DISAMS) |
50 | all: $(OUTPUT) $(DISAMS) |
48 | 51 | ||
- | 52 | check: |
|
- | 53 | $(CC) $(DEFS) $(CFLAGS) $(CHECK_CFLAGS) *.c |
|
- | 54 | ||
49 | -include Makefile.depend |
55 | -include Makefile.depend |
50 | 56 | ||
51 | clean: |
57 | clean: |
52 | -rm -f $(OUTPUT) $(addsuffix .map,$(basename $(SOURCES))) $(DISASMS) Makefile.depend |
58 | -rm -f $(OUTPUT) $(addsuffix .map,$(basename $(SOURCES))) $(DISASMS) Makefile.depend |
53 | 59 |