Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sven Gestegård Robertz
LabComm
Commits
3309c725
Commit
3309c725
authored
Apr 20, 2014
by
Tommy Olofsson
Browse files
C library and copy functions works on Windows as well.
parent
34e6831a
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/c/Makefile
View file @
3309c725
...
...
@@ -18,6 +18,13 @@ else ifeq ($(UNAME_S),Darwin)
LDFLAGS
=
-L
.
LDLIBS
=
-llabcomm
MAKESHARED
=
clang
-o
$1
-shared
-Wl
,-install_name,
$2
$3
-lc
else
if
$(findstring(CYGWIN,$(UNAME_S))
CFLAGS
=
-std
=
c99
-g
-Wall
-Werror
-O3
-I
.
-Itest
CC
=
$(CROSS_COMPILE)
gcc
LD
=
$(CROSS_COMPILE)
ld
LDFLAGS
=
-L
.
LDLIBS
=
-llabcomm
-lrt
ALL_DEPS
:=
$(
filter-out
%.so.1,
$(ALL_DEPS)
)
# No -fPIC supported in windows?
else
$(error
Unknown
system
$(UNAME_S))
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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