summaryrefslogtreecommitdiffstats
path: root/lib6145
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2016-10-05 09:48:29 -0400
committerSolomon Peachy <pizza@shaftnet.org>2016-10-05 09:52:56 -0400
commit7ae4ef21eb47471bce3d01e40c58ac3ac2578175 (patch)
tree8e345172adee8322be8deda9ae9353614f78bf39 /lib6145
parente5dff6584850974e1709483d4bcfc5497d3faec4 (diff)
downloadselphy_print-7ae4ef21eb47471bce3d01e40c58ac3ac2578175.tar.gz
selphy_print-7ae4ef21eb47471bce3d01e40c58ac3ac2578175.tar.bz2
selphy_print-7ae4ef21eb47471bce3d01e40c58ac3ac2578175.zip
mitsu70x: Bundle the library and rearrange a few things.
The backend still doesn't dynamically load it yet, but that's next.
Diffstat (limited to 'lib6145')
-rw-r--r--lib6145/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib6145/Makefile b/lib6145/Makefile
index 3a5cb1b..4068d4a 100644
--- a/lib6145/Makefile
+++ b/lib6145/Makefile
@@ -16,6 +16,7 @@ RM ?= rm
CFLAGS += -Wall -Wextra -g -Os -std=c99 -fPIC --no-strict-overflow # -Wconversion
#LDFLAGS +=
#CPPFLAGS +=
+CFLAGS += -funit-at-a-time
# Build stuff
SOURCES = libS6145ImageReProcess.c
@@ -29,6 +30,7 @@ cppcheck:
$(CPPCHECK) -q -v --std=c99 --enable=all -I/usr/include $(CPPFLAGS) $(SOURCES)
install:
+ $(MKDIR) -p $(LIBDIR)
$(INSTALL) -o root -m 755 lib$(LIBS6145_NAME).so $(LIBDIR)
clean:
$(RM) -f lib$(LIBS6145_NAME).so *.o