fomu-flash: first full commit

Signed-off-by: Your Name <you@example.com>
This commit is contained in:
Your Name
2018-11-28 13:19:51 -05:00
parent c2f21f1df1
commit 09fe20efda
7 changed files with 697 additions and 251 deletions

View File

@ -1,4 +1,4 @@
PACKAGE = $(notdir $(realpath .))
PACKAGE = fomu-flash
ADD_CFLAGS =
ADD_LFLAGS =
@ -21,11 +21,9 @@ endif
DBG_CFLAGS = -ggdb -g -DDEBUG -Wall
DBG_LFLAGS = -ggdb -g -Wall
CFLAGS = $(ADD_CFLAGS) \
-Wall -Wextra \
-ffunction-sections -fdata-sections -fno-common \
-fomit-frame-pointer -Os \
-DGIT_VERSION=u\"$(GIT_VERSION)\" -std=gnu11
CXXFLAGS = $(CFLAGS) -std=c++11
-Wall -Wextra -O2 \
-DGIT_VERSION=u\"$(GIT_VERSION)\"
CXXFLAGS = $(CFLAGS)
LFLAGS = $(ADD_LFLAGS) $(CFLAGS) \
OBJ_DIR = .obj