Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
extractor
gesa
Commits
23e6ec23
Commit
23e6ec23
authored
Jan 08, 2018
by
jkvis
Browse files
Updated library build
parent
a2c01ee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Makefile
View file @
23e6ec23
CC
=
gcc
CFLAGS
=
-O3
-fomit-frame-pointer
-funroll-loops
-march
=
native
CPPFLAGS
=
-DNDEBUG
-Wall
-Wextra
TARGETS
=
sais-lite-lcp
SOURCES
=
sais-lite-lcp/sais.c
OBJECTS
=
$(SOURCES:.c=.o)
.PHONY
:
clean
lib$(TARGETS
:
./%=%).a: $(OBJECTS)
ar rcs
$@
$<
clean
:
rm
-f
$(OBJECTS)
lib
$
(
TARGETS:./%
=
%
)
.a
%.o
:
%.c
$(CC)
$(CFLAGS)
$(CPPFLAGS)
-o
$@
-c
$<
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment