diff options
author | tmk <nobody@nowhere> | 2012-08-14 00:17:31 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-08-28 21:56:15 +0900 |
commit | 895cd4dfa29f0f3c623544f4868ac63e619c69d9 (patch) | |
tree | 31d05ec85fa1bc1b1e6ef7f12dccfc3531240798 /rules.mk | |
parent | 7350b7c6aa300a234244c264b10d1732803c27df (diff) |
Add USB HID(host) protocol.(not finished)
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -158,6 +158,10 @@ CPPFLAGS += -funsigned-bitfields CPPFLAGS += -fpack-struct CPPFLAGS += -fshort-enums CPPFLAGS += -fno-exceptions +CPPFLAGS += -ffunction-sections +CPPFLAGS += -fdata-sections +# to supress "warning: only initialized variables can be placed into program memory area" +CPPFLAGS += -w CPPFLAGS += -Wall CPPFLAGS += -Wundef #CPPFLAGS += -mshort-calls @@ -541,6 +545,7 @@ $(OBJDIR)/%.o : %.c # Compile: create object files from C++ source files. $(OBJDIR)/%.o : %.cpp @echo + mkdir -p $(@D) @echo $(MSG_COMPILING_CPP) $< $(CC) -c $(ALL_CPPFLAGS) $< -o $@ |