Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
dt_ctrl
Commits
81634f78
Commit
81634f78
authored
Dec 13, 2013
by
Michel Roelofs
Browse files
Add system libraries to Makefile linkflags
parent
10771f9b
Changes
4
Hide whitespace changes
Inline
Side-by-side
common/utils/Makefile
View file @
81634f78
...
...
@@ -11,7 +11,7 @@ LIBUTILOBJS= $(UTILSRCS:.c=.lo)
all
:
$(LIBUTILOBJS) weather_test libutils.la libutils.la_install
libutils.la_LDFLAGS
=
-lm
-rpath
${CURDIR}
/../lib
libutils.la_LDFLAGS
=
-lm
-rpath
${CURDIR}
/../lib
-lrt
libutils.la
:
$(LIBUTILOBJS)
${CURDIR}/../lib
:
...
...
console/console/Makefile
View file @
81634f78
...
...
@@ -8,7 +8,7 @@ CFLAGS= -Wall -O3 -I../../common/utils \
-I
../../common/log
\
-I
../../include
LDFLAGS
+=
-L
../../common/lib/
-L
../../lib/
-L
./lib
-lutils
-ltrace
-static
-llog
LDFLAGS
+=
-L
../../common/lib/
-L
../../lib/
-L
./lib
-lutils
-ltrace
-llog
LIBNOVA
=
-lnova
-L
../../lib/
...
...
controller/block/Makefile
View file @
81634f78
...
...
@@ -70,7 +70,7 @@ il2cdir:
$(BLOCKSRCS)
:
il2cdir
libblock.la_LDFLAGS
=
-rpath
${CURDIR}
/../lib
libblock.la_LDFLAGS
=
-rpath
${CURDIR}
/../lib
-lm
libblock.la
:
$(BLOCKS)
libblock.la_install
:
libblock.la
...
...
controller/controller/Makefile
View file @
81634f78
...
...
@@ -27,7 +27,7 @@ controller_load_parser.tab.lo: controller_load_parser.yy.c
controller_load.lo
:
controller_load_parser.tab.h controller_load_parser.yy.h
libcontroller.la_LDFLAGS
=
-rpath
${CURDIR}
/../lib
-lshell
libcontroller.la_LDFLAGS
=
-rpath
${CURDIR}
/../lib
-lshell
-ldl
-lpthread
-lrt
libcontroller.la
:
$(CONTROLLER)
libcontroller.la_install
:
libcontroller.la
...
...
Write
Preview
Supports
Markdown
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